From efe102d7e3ff164bc0c7047dba7db50983def4ac Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Tue, 28 Apr 2020 10:38:59 +0200 Subject: [PATCH] logs: gitlab platform failure err --- lib/platform/gitlab/gl-got-wrapper.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/platform/gitlab/gl-got-wrapper.ts b/lib/platform/gitlab/gl-got-wrapper.ts index f5247d7791..e1ad52e563 100644 --- a/lib/platform/gitlab/gl-got-wrapper.ts +++ b/lib/platform/gitlab/gl-got-wrapper.ts @@ -37,6 +37,7 @@ async function get(path: string, options: any): Promise<GotResponse> { err.statusCode === 429 || (err.statusCode >= 500 && err.statusCode < 600) ) { + logger.debug({ err }, 'Throwing platform failure'); throw new Error(PLATFORM_FAILURE); } const platformFailureCodes = [ -- GitLab