Clean up NonFastForwardException exceptions

This commit is contained in:
Cyberboss
2018-09-19 14:09:55 -04:00
parent 7b19a41fa1
commit 9ad6d40a27
@@ -550,6 +550,10 @@ namespace Tgstation.Server.Host.Components.Repository
{
repository.Network.Push(repository.Head, GeneratePushOptions(progressReporter, username, password, cancellationToken));
}
catch (NonFastForwardException)
{
logger.LogInformation("Synchronize aborted, non-fast forward!");
}
catch (UserCancelledException)
{
cancellationToken.ThrowIfCancellationRequested();