diff --git a/route/api/index.js b/route/api/index.js index 9c2a0fc..e716430 100644 --- a/route/api/index.js +++ b/route/api/index.js @@ -23,6 +23,7 @@ r.use(async (c, n) => { } catch (err) { console.log(err) obj = resObject(err instanceof APIError ? err.resKey : 'InternalError', err.apiMsg || null, err.msgCode || null) + console.log(obj) } if (Object.keys(c.obj).length > 0 && 'status' in c.obj && 'obj' in c.obj) {