update
This commit is contained in:
parent
989ae620b3
commit
8cbffe42bd
@ -23,6 +23,7 @@ r.use(async (c, n) => {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
obj = resObject(err instanceof APIError ? err.resKey : 'InternalError', err.apiMsg || null, err.msgCode || null)
|
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) {
|
if (Object.keys(c.obj).length > 0 && 'status' in c.obj && 'obj' in c.obj) {
|
||||||
|
Loading…
Reference in New Issue
Block a user