Commit 8939bb56 authored by hanbing's avatar hanbing

方案管理-灯组配置,给前端返回错误信息

parent e5cf3d87
...@@ -43,7 +43,7 @@ public class CrossConfigController { ...@@ -43,7 +43,7 @@ public class CrossConfigController {
crossConfigService.saveLaneInfo(saveLaneInfoDTO); crossConfigService.saveLaneInfo(saveLaneInfoDTO);
} catch (Exception e) { } catch (Exception e) {
JsonViewObject jsonViewObject = JsonViewObject.newInstance(); JsonViewObject jsonViewObject = JsonViewObject.newInstance();
return jsonViewObject.fail(e.getMessage()); return jsonViewObject.fail(e.getStackTrace().toString());
} }
JsonViewObject jsonViewObject = JsonViewObject.newInstance(); JsonViewObject jsonViewObject = JsonViewObject.newInstance();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment