diff --git a/sentry_sdk/integrations/django/caching.py b/sentry_sdk/integrations/django/caching.py index cfa952eda3..691a261b3d 100644 --- a/sentry_sdk/integrations/django/caching.py +++ b/sentry_sdk/integrations/django/caching.py @@ -31,7 +31,7 @@ def _instrument_call(cache, method_name, original_method, args, kwargs): if integration is None or not integration.cache_spans: return original_method(*args, **kwargs) - description = "{} {}".format(method_name, " ".join(args)) + description = "{} {}".format(method_name, args[0]) with hub.start_span(op=OP.CACHE, description=description) as span: value = original_method(*args, **kwargs)