diff --git a/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs b/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs index 53b1103..33d6cb3 100644 --- a/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs +++ b/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs @@ -234,6 +234,12 @@ public class ZlldcjLogAppService : ApplicationService, IZlldcjLogAppService } await CurrentUnitOfWork.SaveChangesAsync(); } + catch (UserFriendlyException ex) + { + bErr = true; + result.TYPE = 'E'; + result.MESSAGE = ex.GetBaseException().Message; + } catch (Exception ex) { bErr = true;