Closed xjchenhao closed 6 years ago
模块抛出这样的异常,如下图。
it means a non-error object is thrown, you can try to debug and find what it is.
已经定位到问题了。 index.js:34:24的new Error掩盖了具体的错误信息。这个应该完善完善一下吧?
index.js:34:24
是不是应该这样改一下?https://github.com/koajs/onerror/pull/31/commits/59fb80c4eede7e5e21826a652f2e82ff805bd818
模块抛出这样的异常,如下图。