Skip to content

Commit

Permalink
✏️ add missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
aisk committed Jun 22, 2017
1 parent 3d7002d commit d143832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ app.use(function(err, req, res, next) {
}
res.status(statusCode);
// 默认不输出异常详情
var error = {}
var error = {};
if (app.get('env') === 'development') {
// 如果是开发环境,则将异常堆栈输出到页面,方便开发调试
error = err;
Expand Down

0 comments on commit d143832

Please sign in to comment.