mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Clean up NonFastForwardException exceptions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user