From 9c5071ec983a8920826e61085504dddd833bc92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sat, 26 Aug 2017 11:47:35 -0400 Subject: [PATCH] Improve output of WebPush error Without this, the error displayed contains a lot of superfluous information, repeated. --- src/plugins/webpush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/webpush.js b/src/plugins/webpush.js index 5a5e4341..4b867e95 100644 --- a/src/plugins/webpush.js +++ b/src/plugins/webpush.js @@ -65,7 +65,7 @@ class WebPush { return; } - log.error("WebPush Error", error); + log.error(`WebPush Error (${error})`); }); } }