From ea1413e7d098dcd8fe9742896cf7bcaadd58bc00 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Thu, 8 Mar 2018 09:52:41 -0500 Subject: [PATCH] update error message --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 731fbab..aaa7408 100644 --- a/index.js +++ b/index.js @@ -179,7 +179,7 @@ FCM.on = (event, callback) => { try { await callback(data); } catch (err) { - console.error('Notification handler err', err); + console.error('Notification handler err:\n'+err.stack); throw err; } if (!data._finishCalled) { -- 2.26.2