Authored by Lixiaodi

增加log

@@ -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 }