Merge pull request #253 from tgstation/Cyberboss-patch-1

Fixes RepoPush event being logged as an error
This commit is contained in:
Jordan Brown
2017-10-17 16:18:08 -04:00
committed by GitHub
+1 -1
View File
@@ -1054,7 +1054,7 @@ namespace TGServerService
CredentialsProvider = GenerateGitCredentials,
};
Repo.Network.Push(Repo.Network.Remotes[SSHPushRemote], Repo.Head.CanonicalName, options);
TGServerService.WriteError("Repo pushed up to commit: " + Repo.Head.Tip.Sha, TGServerService.EventID.RepoPush);
TGServerService.WriteInfo("Repo pushed up to commit: " + Repo.Head.Tip.Sha, TGServerService.EventID.RepoPush);
return null;
}
catch (Exception e)