Closed imjoehaines closed 9 months ago
If auto_capture_sessions is False we still want to deliver any manual sessions that may be left, so we should still start session delivery in this case
auto_capture_sessions
False
Currently session delivery only happens if auto_capture_sessions is True or notify is called:
True
notify
https://github.com/bugsnag/bugsnag-python/blob/563063f3dd34abfd7d9399720f3371b5b1087c99/bugsnag/client.py#L205-L206
Goal
If
auto_capture_sessions
isFalse
we still want to deliver any manual sessions that may be left, so we should still start session delivery in this caseCurrently session delivery only happens if
auto_capture_sessions
isTrue
ornotify
is called:https://github.com/bugsnag/bugsnag-python/blob/563063f3dd34abfd7d9399720f3371b5b1087c99/bugsnag/client.py#L205-L206