Commit b5999e2e authored by hanbing's avatar hanbing

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

parent 8939bb56
......@@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.ws.rs.core.MediaType;
import java.util.Arrays;
/**
* @author Kent HAN
......@@ -43,7 +44,7 @@ public class CrossConfigController {
crossConfigService.saveLaneInfo(saveLaneInfoDTO);
} catch (Exception e) {
JsonViewObject jsonViewObject = JsonViewObject.newInstance();
return jsonViewObject.fail(e.getStackTrace().toString());
return jsonViewObject.fail(Arrays.toString(e.getStackTrace()));
}
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