Skip to content

Commit

Permalink
chore: 增加 db proxy entry 查询出错时的日志信息;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Aug 10, 2021
1 parent d91de4a commit 4671210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app-server/src/router/entry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ EntryRouter.post('/proxy/:policy', async (req, res) => {
data
})
} catch (error) {
logger.error(requestId, 'execute query got error: ', error)
return res.send({
code: 2,
error: error.toString(),
Expand Down

0 comments on commit 4671210

Please sign in to comment.