diff --git a/lib/errors.js b/lib/errors.js index a0fbb791..214766f1 100644 --- a/lib/errors.js +++ b/lib/errors.js @@ -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 || ''),