You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-09-16 09:26:36 +02:00
updated exception logging.
This commit is contained in:
@@ -255,11 +255,6 @@ namespace Exceptron.Client
|
||||
|
||||
var fileName = frame.GetFileName();
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(fileName))
|
||||
{
|
||||
fileName = new FileInfo(fileName).Name;
|
||||
}
|
||||
|
||||
var currentFrame = new Frame
|
||||
{
|
||||
i = index,
|
||||
|
@@ -65,8 +65,8 @@ namespace Marr.Data.Mapping
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string msg = string.Format("The DataMapper was unable to load the following field: '{0}'.",
|
||||
dataMap.ColumnInfo.Name);
|
||||
string msg = string.Format("The DataMapper was unable to load the following field: '{0}'. {1}",
|
||||
dataMap.ColumnInfo.Name, ex.Message);
|
||||
|
||||
throw new DataMappingException(msg, ex);
|
||||
}
|
||||
|
Reference in New Issue
Block a user