diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index 69749f13b8b4d303e807eb263d53836ad601c862..a4531f4b27f6293f6bc0d58014684a2ee1ec1047 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -64,6 +64,7 @@ function checkForPlatformFailure(err: Error): void {
   ];
   for (const errorStr of platformFailureStrings) {
     if (err.message.includes(errorStr)) {
+      logger.debug({ err }, 'Converting git error to ExternalHostError');
       throw new ExternalHostError(err, 'git');
     }
   }