raise_exception helper: tag should be string

> Tags are key/value string pairs that are both indexed and searchable.
This commit is contained in:
Klaas van Schelven
2024-10-08 11:00:57 +02:00
parent 99420216f2
commit f0006a63f5

View File

@@ -16,7 +16,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
from sentry_sdk import set_tag
set_tag("foo", "bar")
set_tag("baz", 1)
set_tag("baz", "1")
if options["no_release"]:
# The sentry client "tries hard" to get the release from the environment (including git); I have found the