Skip to content

Fix for #18925 - Exception information should be localized and passed to got_request_exception signal handlers #332

Closed
wants to merge 2 commits into from

1 participant

@obeattie
obeattie commented Sep 7, 2012

See ticket for explanation.

obeattie added some commits Sep 7, 2012
@obeattie obeattie Fixed #18925 -- Exception information should be localized
and passed to got_request_exception signal handlers

sys.exc_info() is now stored in a local variable before processing
got_request_exception signals, and passed to the signals as an argument,
to avoid issues seen with traceback information being lost if a greenlet
switch occurs during exception processing, when Django is running under
Gevent.
3be37da
@obeattie obeattie Add test for #18925 63a760b
@obeattie

In response to my posts on the mailing list, this has actually been fixed in gevent, so closing this.

@obeattie obeattie closed this Nov 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.