Skip to content

Commit a710be5

Browse files
Log whole error in error handler
1 parent 9a3022a commit a710be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handlers/error-pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const SELECT_PROVIDER_AUTH_METHODS = ['oidc']
1515
* @param next {Function}
1616
*/
1717
function handler (err, req, res, next) {
18-
debug('Error page because of ' + err.message)
18+
debug('Error page because of ' + err)
1919

2020
let locals = req.app.locals
2121
let authMethod = locals.authMethod

0 commit comments

Comments
 (0)