Skip to content

Commit

Permalink
Handle spawn 'error' event (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncannz committed Oct 24, 2022
1 parent d9c4172 commit 5880790
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/minidump.js
Expand Up @@ -30,6 +30,9 @@ function execute (command, args, callback) {
callback(null, stdout)
}
})
child.on('error', function (error) {
callback(error, stdout)
})
}

var globalSymbolPaths = []
Expand Down

0 comments on commit 5880790

Please sign in to comment.