Skip to content

Commit 8ad8261

Browse files
committed
don't log exception for expected error
1 parent 6f44e11 commit 8ad8261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const authenticate = (request, response, next) => {
113113
;(request.decoded = decoded), (request.authenticated = { success: true, error: '' })
114114
} catch (e) {
115115
request.authenticated = { success: false, error: 'token verification failed' }
116-
logger.error(e)
116+
// logger.error(e)
117117
}
118118
}
119119

0 commit comments

Comments
 (0)