mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 20:47:28 +01:00
Cleanup an unnecessary catch
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user