mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
No more critical logs if application startup is cancelled
This commit is contained in:
@@ -181,6 +181,10 @@ namespace Tgstation.Server.Host.Components
|
||||
logger.LogInformation("Instance manager ready!");
|
||||
application.Ready(null);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
logger.LogInformation("Cancelled instance manager initialization!");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.LogCritical("Instance manager startup error! Exception: {0}", e);
|
||||
|
||||
Reference in New Issue
Block a user