video-utils
Advanced tools
Comparing version 1.0.47 to 1.0.48
{ | ||
"name": "video-utils", | ||
"version": "1.0.47", | ||
"version": "1.0.48", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "amqp": "0.2.x", |
@@ -54,6 +54,11 @@ var | ||
self._lastHandlers.forEach(function (hdl) { | ||
if (isPromise(result = hdl(err, exitCode))) { | ||
lastPromises.push(result); | ||
try { | ||
if (isPromise(result = hdl(err, exitCode))) { | ||
lastPromises.push(result); | ||
} | ||
} catch (e) { | ||
errors.push(e); | ||
} | ||
}); | ||
allWithTimeout(lastPromises) | ||
@@ -60,0 +65,0 @@ .then(exit) |
28899
621