调整错误记录
This commit is contained in:
@@ -1204,9 +1204,9 @@ namespace WMS.Web.Domain.Services.Public
|
||||
var msg = jobject["Result"]["ResponseStatus"]["Errors"]["Message"].ToString();
|
||||
return Result<string>.ReFailure(msg, 10002);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Result<string>.ReFailure("错误", 10002);
|
||||
return Result.ReFailure(ex.ToString(), 10002);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -1236,9 +1236,9 @@ namespace WMS.Web.Domain.Services.Public
|
||||
var msg = jobject["Result"]["ResponseStatus"]["Errors"]["Message"].ToString();
|
||||
return Result.ReFailure(msg, 10002);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Result.ReFailure("错误", 10002);
|
||||
return Result.ReFailure(ex.ToString(), 10002);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -1268,9 +1268,9 @@ namespace WMS.Web.Domain.Services.Public
|
||||
var msg = jobject["Result"]["ResponseStatus"]["Errors"]["Message"].ToString();
|
||||
return Result.ReFailure(msg, 10002);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Result.ReFailure("错误", 10002);
|
||||
return Result.ReFailure(ex.ToString(), 10002);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -1300,9 +1300,9 @@ namespace WMS.Web.Domain.Services.Public
|
||||
var msg = jobject["Result"]["ResponseStatus"]["Errors"]["Message"].ToString();
|
||||
return Result.ReFailure(msg, 10002);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Result.ReFailure("错误", 10002);
|
||||
return Result.ReFailure(ex.ToString(), 10002);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -1332,9 +1332,9 @@ namespace WMS.Web.Domain.Services.Public
|
||||
var msg = jobject["Result"]["ResponseStatus"]["Errors"]["Message"].ToString();
|
||||
return Result.ReFailure(msg, 10002);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Result.ReFailure("错误", 10002);
|
||||
return Result.ReFailure(ex.ToString(), 10002);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user