Showing
1 changed file
with
2 additions
and
1 deletions
@@ -83,7 +83,8 @@ public class ResourceController { | @@ -83,7 +83,8 @@ public class ResourceController { | ||
83 | } catch (ParseException e) { | 83 | } catch (ParseException e) { |
84 | return new ApiResponse.ApiResponseBuilder().code(400).message("日期格式有误").data("").build(); | 84 | return new ApiResponse.ApiResponseBuilder().code(400).message("日期格式有误").data("").build(); |
85 | } catch (Exception e) { | 85 | } catch (Exception e) { |
86 | - return new ApiResponse(400, e.getMessage(), ""); | 86 | + LOGGER.error("enter editOrUpdateResourcesTime,err is ", e); |
87 | + return new ApiResponse(400, e.getMessage(), e.getMessage()); | ||
87 | } | 88 | } |
88 | return new ApiResponse.ApiResponseBuilder().code(200).data(result).build(); | 89 | return new ApiResponse.ApiResponseBuilder().code(200).data(result).build(); |
89 | } | 90 | } |
-
Please register or login to post a comment