Skip to content

Commit

Permalink
fixed 0.10.x breaking code in runner.js
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Apr 12, 2017
1 parent c54667c commit 69ab14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ if(argv.t == 'functional') {
}
}

process.on('unhandledRejection', (reason, p) => {
process.on('unhandledRejection', function(reason, p) {
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
// application specific logging, throwing an error, or other logic here
});

0 comments on commit 69ab14f

Please sign in to comment.