Skip to content

Commit 2a3f7a8

Browse files
committed
Formatting
1 parent 90358dd commit 2a3f7a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sentry_sdk/integrations/sanic.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ async def _set_transaction(request, route, **_):
229229
with capture_internal_exceptions():
230230
scope = sentry_sdk.get_current_scope()
231231
route_name = route.name.replace(request.app.name, "").strip(".")
232-
scope.set_transaction_name(
233-
route_name, source=TransactionSource.COMPONENT
234-
)
232+
scope.set_transaction_name(route_name, source=TransactionSource.COMPONENT)
235233

236234

237235
def _sentry_error_handler_lookup(self, exception, *args, **kwargs):

0 commit comments

Comments
 (0)