Skip to content

Commit adc6a66

Browse files
nickbullockjohnjbarton
authored andcommittedNov 13, 2019
feat(karma-server): added log to the server.js for uncaught exception (#3399)
1 parent b71b5ac commit adc6a66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/server.js

+1
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ class Server extends KarmaEventEmitter {
391391
const reportError = (error) => {
392392
process.emit('infrastructure_error', error)
393393
disconnectBrowsers(1)
394+
this.log.error(error)
394395
}
395396

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

0 commit comments

Comments
 (0)
Please sign in to comment.