honeybadger-io / honeybadger-python

Send Python and Django errors to Honeybadger.
https://www.honeybadger.io/
MIT License
15 stars 26 forks source link

fix(django): capture user name and id #176

Closed subzero10 closed 3 months ago

subzero10 commented 3 months ago

Moves the __set_user_from_context method inside process_exception of the middleware definition.

More context on the fix:

Fixes: #155

dotysan commented 3 months ago

Looks good! image