Cleanup an unnecessary catch

This commit is contained in:
Jordan Dominion
2024-03-02 13:48:47 -05:00
parent 59ffa08389
commit f29ad29bc4
@@ -399,11 +399,7 @@ namespace Tgstation.Server.Host.Components.Deployment
++deleting;
await DeleteCompileJobContent(x, cancellationToken);
}
catch (OperationCanceledException)
{
throw;
}
catch (Exception e)
catch (Exception e) when (e is not OperationCanceledException)
{
logger.LogWarning(e, "Error deleting directory {dirName}!", x);
}