diff --git a/lib/platform/gitlab/gl-got-wrapper.ts b/lib/platform/gitlab/gl-got-wrapper.ts index 90f5dfe31527a193f244a12c7e55529e30336ea8..aed193ba80112969631448fc18a3fc0694aeaa25 100644 --- a/lib/platform/gitlab/gl-got-wrapper.ts +++ b/lib/platform/gitlab/gl-got-wrapper.ts @@ -33,7 +33,10 @@ async function get(path: string, options: any) { if (err.statusCode >= 500 && err.statusCode < 600) { throw new Error('platform-failure'); } - if (err.code === 'ECONNRESET') { + if ( + err.code === 'ECONNRESET' || + err.code === 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' + ) { throw new Error('platform-failure'); } throw err;