From bed1646db71800d3265922722559efe289b87804 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Thu, 18 Oct 2018 11:35:34 +0300 Subject: [PATCH] update --- lib/errors.js | 4 ++++ 1 file changed, 4 insertions(+) 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 || ''),