From 8cbffe42bdb4763cae9e37bcb4b2e465e843ca80 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 17 Aug 2018 23:12:57 +0800 Subject: [PATCH] update --- route/api/index.js | 1 + 1 file changed, 1 insertion(+) 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) {