Skip to content

Commit

Permalink
feat(karma-server): added log to the server.js for uncaught exception (
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbullock authored and johnjbarton committed Nov 13, 2019
1 parent b71b5ac commit adc6a66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/server.js
Expand Up @@ -391,6 +391,7 @@ class Server extends KarmaEventEmitter {
const reportError = (error) => {
process.emit('infrastructure_error', error)
disconnectBrowsers(1)
this.log.error(error)
}

processWrapper.on('unhandledRejection', (error) => {
Expand Down

0 comments on commit adc6a66

Please sign in to comment.