@@ -32,7 +32,7 @@ public class ExceptionCatch { | |||
@ExceptionHandler(ServiceException.class) | |||
@ResponseBody | |||
public JsonResult exception(ServiceException e){ | |||
log.error("catch exception:{}",e); | |||
log.error("catch exception:{}",e.getMessage()); | |||
return JsonResult.error(e.getMessage()); | |||
} | |||
} |