Skip to content

Commit

Permalink
fix: remove throw 500 Error
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxing committed Jun 1, 2018
1 parent c1478c1 commit 901b34c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routes/about.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
async index (ctx, next) {
ctx.body = 'about'
throw new Error(505)
}
}

0 comments on commit 901b34c

Please sign in to comment.