mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Fixed IsNeeded() with tests
Added sample xml from all indexers to test project Fixed a bug where parser would try to use file extension from a report title.
This commit is contained in:
parent
198d92f433
commit
e6fb02fac6
19 changed files with 3885 additions and 48 deletions
|
@ -31,8 +31,15 @@ namespace NzbDrone.Core.Instrumentation
|
|||
|
||||
if (logEvent.Exception != null)
|
||||
{
|
||||
if (String.IsNullOrWhiteSpace(log.Message))
|
||||
{
|
||||
log.Message = logEvent.Exception.Message;
|
||||
}
|
||||
else
|
||||
{
|
||||
log.Message += ": " + logEvent.Exception.Message;
|
||||
}
|
||||
|
||||
log.Message += ": " + logEvent.Exception.Message;
|
||||
|
||||
log.Exception = logEvent.Exception.ToString();
|
||||
log.ExceptionType = logEvent.Exception.GetType().ToString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue