Fixed a null reference that prevented access to the real error message when updating formats
This commit is contained in:
parent
5d8d79e32c
commit
7469ab179b
@ -253,7 +253,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
OnFormatLoaded(null, new FormatEventArgs("Error Loading Format " + format));
|
OnFormatLoaded(null, new FormatEventArgs("Error Loading Format " + format));
|
||||||
_MyLog.ErrorFormat("AddFormatToDB('{0}','{1}')", parent.Name, path);
|
_MyLog.ErrorFormat("AddFormatToDB('{0}','{1}')", (parent == null)?"Base": parent.Name, path);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user