Skip to content

Commit 5880790

Browse files
authored
Handle spawn 'error' event (#52)
1 parent d9c4172 commit 5880790

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/minidump.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ function execute (command, args, callback) {
3030
callback(null, stdout)
3131
}
3232
})
33+
child.on('error', function (error) {
34+
callback(error, stdout)
35+
})
3336
}
3437

3538
var globalSymbolPaths = []

0 commit comments

Comments
 (0)