-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sentry): fix
set_sentry_context
before_request function
Set user ; ID, username and email ; from `flask_login.current_user`, if `current_user.is_authenticated`, rather than from `g.current_user` that may not exist because of uncontrolled order for before_request functions calls.
- Loading branch information
1 parent
75f0845
commit be8624b
Showing
1 changed file
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters