diff --git a/src/Tgstation.Server.Host/Components/Repository/Repository.cs b/src/Tgstation.Server.Host/Components/Repository/Repository.cs index 1f937039d2..8de7931585 100644 --- a/src/Tgstation.Server.Host/Components/Repository/Repository.cs +++ b/src/Tgstation.Server.Host/Components/Repository/Repository.cs @@ -137,7 +137,8 @@ namespace Tgstation.Server.Host.Components.Repository /// The current . static void CheckBadCredentialsException(LibGit2SharpException exception) { - if (exception.Message == "too many redirects or authentication replays") + if (exception.Message == "too many redirects or authentication replays" + || exception.Message == ErrorCode.RepoCredentialsRequired.Describe()) throw new JobException("Bad git credentials exchange!", exception); }