If there is a problem updating the formats, the error will be recorded in the error log

This commit is contained in:
John Jenko 2013-02-15 13:57:36 +00:00
parent 63483ed15b
commit 93cab87a23

View File

@ -249,7 +249,8 @@ namespace VEPROMS.CSLA.Library
}
catch (Exception ex)
{
//frmMain.AddError(ex, "AddFormatToDB('{0}','{1}')", parent.Name, path);
OnFormatLoaded(null, new FormatEventArgs("Error Loading Format " + format));
_MyLog.ErrorFormat("AddFormatToDB('{0}','{1}')", parent.Name, path);
return null;
}
}