Skip to content

Commit

Permalink
Do not log non blocking error conditions (#180)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina authored Feb 14, 2024
1 parent 1d40aa3 commit 863ad05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function fastifyUser (app, options) {
await request.createSession()
request.log.debug({ user: request.user }, 'logged user in')
} catch (err) {
request.log.error({ err })
request.log.debug({ err }, 'failed to create a session')
}
}
return request.user
Expand Down

0 comments on commit 863ad05

Please sign in to comment.