This commit is contained in:
Andris Reinman 2018-10-18 11:35:34 +03:00
parent 6c6a3c2605
commit bed1646db7

View file

@ -27,6 +27,10 @@ if (config.bugsnagCode) {
loggelf = (...args) => {
let err = args.shift() || {};
if (err.code === 'ECONNRESET') {
// just ignore
return;
}
let message = {
short_message: component.toUpperCase() + ' [Exception] ' + (err.message || ''),