Follow up on [https://github.com/getsentry/sentry-python/pull/5622#discussion_r2931508792](<https://github.com/getsentry/sentry-python/pull/5622#discussion_r2931508792>) to validate. Fix if necessary