mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 05:27:30 +01:00
We throw the job exception before this point
This commit is contained in:
@@ -271,7 +271,7 @@ namespace Tgstation.Server.Host.Components.Repository
|
||||
committerEmail);
|
||||
|
||||
if (RemoteGitProvider == Api.Models.RemoteGitProvider.Unknown)
|
||||
throw new JobException(ErrorCode.RepoTestMergeInvalidRemote);
|
||||
throw new InvalidOperationException("Cannot test merge with an Unknown RemoteGitProvider!");
|
||||
|
||||
var commitMessage = String.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
|
||||
Reference in New Issue
Block a user