日志完善
This commit is contained in:
@@ -147,7 +147,7 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
if (!isOk)
|
||||
{
|
||||
throw Oops.Oh(ErrorCode.COM1001);
|
||||
throw new Exception($"料架id{input.carry_id}载具解绑失败");
|
||||
}
|
||||
|
||||
|
||||
@@ -227,6 +227,8 @@ namespace Tnb.WarehouseMgr
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.LogError($"【CarryCodeUnbind】 {ex.Message}");
|
||||
Logger.LogError($"【CarryCodeUnbind】 {ex.StackTrace}");
|
||||
return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.InternalServerError, ex.Message);
|
||||
}
|
||||
return Task.FromResult(true);
|
||||
|
||||
Reference in New Issue
Block a user