1
This commit is contained in:
@@ -39,14 +39,14 @@ namespace Tnb.WarehouseMgr.Entities.Exceptions
|
||||
|
||||
public static class TimedTaskExceptionExtensions
|
||||
{
|
||||
public static TimedTaskException ToTimedTaskException(this Exception exception, ErrorInfo exceptionInfo)
|
||||
public static TimedTaskException ToTimedTaskException(this Exception exception, TimedTaskErrorInfo exceptionInfo)
|
||||
{
|
||||
TimedTaskException ex = new(exception.Message, exceptionInfo.RequestURL, exceptionInfo.RequestMethod, exceptionInfo.userIdentity, exception);
|
||||
return ex;
|
||||
}
|
||||
}
|
||||
|
||||
public class ErrorInfo
|
||||
public class TimedTaskErrorInfo
|
||||
{
|
||||
public string RequestURL { get; set; }
|
||||
public string RequestMethod { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user