You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we're manually clearing scope in the middleware but if there's an exception in the job this might not run. We should just use push_scope instead to ensure cleanup.
Try this out with a proper test case and fix it.
The text was updated successfully, but these errors were encountered:
Ok I should've read my own comment first. I intentionally didn't use ensure there because at that moment, the exception is not reported yet. So we need to NOT clear the scope until we reach ErrorHandler later.
Was there an incident that made you started looking into this?
we're manually clearing scope in the middleware but if there's an exception in the job this might not run. We should just use
push_scope
instead to ensure cleanup.Try this out with a proper test case and fix it.
The text was updated successfully, but these errors were encountered: