Skip to content

apijson 调试模式, 批量新增、修改等操作,异常情况无法返回错误信息 #462

Open
@cloudAndMonkey

Description

@cloudAndMonkey

image
正确结果:
image
原因分析:
这个错误,是apijson的bug, 调试情况, 堆栈信息,无法转化为json字符串.
image
image
建议:
屏蔽: 感觉没有太大必要,前端把这些堆栈信息打印出来
// if (error != null) {
// res.put("trace:throw", error.getClass().getName());
// res.put("trace:stack", error.getStackTrace());
// }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions