From 852e073d3731b17d7c475a20e9af5ed62fd0ec82 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Fri, 21 Apr 2017 08:27:03 +0300 Subject: [PATCH] #316: added more context for unhandled rejections logging --- src/services/logger/logger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/logger/logger.js b/src/services/logger/logger.js index f0099db..737e19e 100644 --- a/src/services/logger/logger.js +++ b/src/services/logger/logger.js @@ -38,7 +38,8 @@ const logger = { } logger.info(`Unhandled rejection${message}`, { - error + error, + event }); }); }