mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 14:37:44 +01:00
Improve logging here
This commit is contained in:
@@ -79,9 +79,13 @@ namespace Tgstation.Server.Host.Security
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.LogWarning(e, "Error loading user for context type {0}!", contextType);
|
||||
logger.LogDebug(
|
||||
ex,
|
||||
"Error loading user for context type {contextType} and principal \"{domainName}\"!",
|
||||
contextType,
|
||||
domainName);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user