mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 13:36:50 +01:00
An uncaught exception was never a good idea
This commit is contained in:
@@ -48,7 +48,14 @@ namespace Tgstation.Server.Client
|
||||
/// </summary>
|
||||
async void AttemptTokenRefresh()
|
||||
{
|
||||
await apiClient.RefreshToken(CancellationToken.None);
|
||||
try
|
||||
{
|
||||
await apiClient.RefreshToken(CancellationToken.None);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// intentionally ignored
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user