Fixes RepoPush event being logged as an error

This commit is contained in:
Jordan Brown
2017-10-17 16:07:10 -04:00
committed by GitHub
parent f6aa348867
commit 3cdb8aa6b9
+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)