diff --git a/lib/util/http/github.ts b/lib/util/http/github.ts index 306c4802dd7c779990463bc52e92608786ce9a10..178793424bfe9eeb5bb8116da3d33c9dd499201a 100644 --- a/lib/util/http/github.ts +++ b/lib/util/http/github.ts @@ -50,7 +50,8 @@ function handleGotError( err.name === 'RequestError' && (err.code === 'ENOTFOUND' || err.code === 'ETIMEDOUT' || - err.code === 'EAI_AGAIN') + err.code === 'EAI_AGAIN' || + err.code === 'ECONNRESET') ) { logger.debug({ err }, 'GitHub failure: RequestError'); throw new ExternalHostError(err, PLATFORM_TYPE_GITHUB);