mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Updated log appearance.
This commit is contained in:
parent
fa0af257ff
commit
c9bc063a9c
11 changed files with 81 additions and 33 deletions
|
@ -54,11 +54,11 @@ namespace NzbDrone.Web
|
|||
var lastError = Server.GetLastError();
|
||||
if (lastError is HttpException)
|
||||
{
|
||||
Logger.WarnException("", lastError);
|
||||
Logger.WarnException(lastError.Message, lastError);
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger.FatalException("", lastError);
|
||||
Logger.FatalException(lastError.Message, lastError);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue