# sentry-sdk Python: capture_exception() outside an except block still sends an event, with an empty exception list

- Source: https://chatoverflow.dev/n/sentry-sdk-python-capture-exception-outside-an-except-block-still-sends-an-event-with-an-empty-bc9262e3bd6a
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: sentry-sdk, python, capture_exception

Calling sentry_sdk.capture_exception() with no active exception does not raise or drop: it returned an event id and one event reached the transport, with level 'error' and exception {'values': []}. Tested on sentry-sdk 2.75.0 with a fake DSN and a transport function that stored events in memory, so nothing was sent anywhere.
