In this PR: https://github.com/getsentry/sentry-python/pull/3073/files#diff-79a3788011179b24960642acf26b7cd5a7daaef510906fb683364309338546fcR47 there is probably a string.join() that lead to this error: https://sentry.sentry.io/issues/5448730468/?project=1&query=release%3Abackend%40a13563880494efef0811369c3265d546508f2703&referrer=release-issue-stream Make sure that `_get_safe_command` and `_get_safe_key` can handle integers.