Skip to content

Commit

Permalink
Merge 593a4f4 into 603bbc0
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton authored Dec 17, 2020
2 parents 603bbc0 + 593a4f4 commit 8425597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,12 @@ class Server extends KarmaEventEmitter {
}

processWrapper.on('unhandledRejection', (error) => {
this.log.error(`UnhandledRejection: ${error.message || String(error)}`)
this.log.error(`UnhandledRejection: ${error.stack || error.message || String(error)}`)
reportError(error)
})

processWrapper.on('uncaughtException', (error) => {
this.log.error(`UncaughtException:: ${error.message || String(error)}`)
this.log.error(`UncaughtException:: ${error.stack || error.message || String(error)}`)
reportError(error)
})
}
Expand Down

0 comments on commit 8425597

Please sign in to comment.