mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-27 22:57:09 -04:00
Certain log messages didn't include the exception.
This commit is contained in:
@@ -50,7 +50,7 @@ namespace NzbDrone.Core.Datastore
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.Error("An Error occurred while vacuuming database.", e);
|
||||
_logger.ErrorException("An Error occurred while vacuuming database.", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
||||
{
|
||||
var message = String.Format("Unable to communicate with {0}.", downloadClient.Definition.Name);
|
||||
|
||||
_logger.Error(message, ex);
|
||||
_logger.ErrorException(message, ex);
|
||||
return new HealthCheck(GetType(), HealthCheckResult.Error, message + " " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace NzbDrone.Core.Messaging.Commands
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error("Unknown error in thread: " + ex.Message, ex);
|
||||
_logger.ErrorException("Unknown error in thread: " + ex.Message, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -335,7 +335,7 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error("Unable to process episode image for file: " + Path.Combine(series.Path, episodeFile.RelativePath), ex);
|
||||
_logger.ErrorException("Unable to process episode image for file: " + Path.Combine(series.Path, episodeFile.RelativePath), ex);
|
||||
|
||||
return new List<ImageFileResult>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user