From 2a3f7a86d45ad299f283d636799749e64495621d Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 21 Feb 2025 09:33:35 +0100 Subject: [PATCH] Formatting --- sentry_sdk/integrations/sanic.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sentry_sdk/integrations/sanic.py b/sentry_sdk/integrations/sanic.py index 492133dfcb..bd8f1f329b 100644 --- a/sentry_sdk/integrations/sanic.py +++ b/sentry_sdk/integrations/sanic.py @@ -229,9 +229,7 @@ async def _set_transaction(request, route, **_): with capture_internal_exceptions(): scope = sentry_sdk.get_current_scope() route_name = route.name.replace(request.app.name, "").strip(".") - scope.set_transaction_name( - route_name, source=TransactionSource.COMPONENT - ) + scope.set_transaction_name(route_name, source=TransactionSource.COMPONENT) def _sentry_error_handler_lookup(self, exception, *args, **kwargs):