From 773b6653de227a24f2b8f289b5287a2b7a3d8911 Mon Sep 17 00:00:00 2001 From: "nikita.balakirev" Date: Wed, 13 Nov 2019 13:53:29 +0300 Subject: [PATCH] feat(karma-server): added log to the server.js for uncaught exception --- lib/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/server.js b/lib/server.js index 6d44f390b..760b2694f 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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) => {