bugsnag / bugsnag-python

Official BugSnag error monitoring and error reporting for django, flask, tornado and other python apps.
https://docs.bugsnag.com/platforms/python/
MIT License
84 stars 42 forks source link

Start delivery regardless of auto_capture_sessions #367

Closed imjoehaines closed 9 months ago

imjoehaines commented 9 months ago

Goal

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

Currently session delivery only happens if auto_capture_sessions is True or notify is called:

https://github.com/bugsnag/bugsnag-python/blob/563063f3dd34abfd7d9399720f3371b5b1087c99/bugsnag/client.py#L205-L206