Improve output of WebPush error

Without this, the error displayed contains a lot of superfluous information, repeated.
This commit is contained in:
Jérémie Astori 2017-08-26 11:47:35 -04:00
parent 6ba2b8a3d1
commit 9c5071ec98
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8

View file

@ -65,7 +65,7 @@ class WebPush {
return;
}
log.error("WebPush Error", error);
log.error(`WebPush Error (${error})`);
});
}
}