BusinessMgr 3.0.2 .Net8
This commit is contained in:
@@ -306,7 +306,7 @@ namespace Sarand.Net.Standard.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
String msg = exc.GetType().Name + ": " + exc.Message;
|
||||
String msg = ExceptionUtil.GetErrorStateMessage(exc);
|
||||
AddErrorMessage(msg);
|
||||
SaLogger.Error($"{SysUtil.Fn} ProcessStarting: {msg}{exc.GetStackEntries(6).Concat("", "\n\tat ")}", true);
|
||||
}
|
||||
@@ -319,7 +319,7 @@ namespace Sarand.Net.Standard.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
String msg = exc.GetType().Name + ": " + exc.Message;
|
||||
String msg = ExceptionUtil.GetErrorStateMessage(exc);
|
||||
AddErrorMessage(msg);
|
||||
SaLogger.Error($"{SysUtil.Fn} " + msg + exc.GetStackEntries(6).Concat("", "\n\tat "), true);
|
||||
}
|
||||
@@ -340,7 +340,7 @@ namespace Sarand.Net.Standard.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
String msg = exc.GetType().Name + ": " + exc.Message;
|
||||
String msg = ExceptionUtil.GetErrorStateMessage(exc);
|
||||
AddErrorMessage(msg);
|
||||
SaLogger.Error($"{SysUtil.Fn} ProcessCompleted: {msg}{exc.GetStackEntries(6).Concat("", "\n\tat ")}", true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user