Commit 5f0fe327 authored by priit's avatar priit
Browse files

todo fix

parent 4f689f87
......@@ -31,8 +31,12 @@ function LocalExecutor() {
logger.debug(localCommand.commandParams);
logger.debug(response);
var process = spawn(command, commandParams);
self._run(response, process, callback);
try {
var process = spawn(command, commandParams);
self._run(response, process, callback);
} catch (e) {
callback(e.message);
}
};
this._run = function (response, process, callback) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment