diff --git a/lib/server.js b/lib/server.js index 760b2694f..8b1889bb1 100644 --- a/lib/server.js +++ b/lib/server.js @@ -395,12 +395,12 @@ class Server extends KarmaEventEmitter { } processWrapper.on('unhandledRejection', (error) => { - this.log.error('UnhandledRejection') + this.log.error(`UnhandledRejection: ${error.message}`) reportError(error) }) processWrapper.on('uncaughtException', (error) => { - this.log.error('UncaughtException') + this.log.error(`UncaughtException: ${error.message}`) reportError(error) }) }