mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Updated log appearance.
This commit is contained in:
parent
fa0af257ff
commit
c9bc063a9c
11 changed files with 81 additions and 33 deletions
|
@ -33,6 +33,9 @@ namespace NzbDrone.Core.Instrumentation
|
|||
|
||||
if (logEvent.Exception != null)
|
||||
{
|
||||
if (String.IsNullOrWhiteSpace(log.Message))
|
||||
log.Message = logEvent.Exception.Message;
|
||||
|
||||
log.ExceptionMessage = logEvent.Exception.Message;
|
||||
log.ExceptionString = logEvent.Exception.ToString();
|
||||
log.ExceptionType = logEvent.Exception.GetType().ToString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue