Skip to content

Commit fbae04d

Browse files
committed
black locally disagrees with ci. python is awful
1 parent 032afe8 commit fbae04d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

posthog/sentry/posthog_integration.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ def processor(event, hint):
4343
not not Hub.current.client.dsn and Dsn(Hub.current.client.dsn).project_id
4444
)
4545
if project_id:
46-
properties[
47-
"$sentry_url"
48-
] = f"{PostHogIntegration.prefix}{PostHogIntegration.organization}/issues/?project={project_id}&query={event['event_id']}"
49-
46+
properties["$sentry_url"] = (
47+
f"{PostHogIntegration.prefix}{PostHogIntegration.organization}/issues/?project={project_id}&query={event['event_id']}"
48+
)
5049
posthog.capture(posthog_distinct_id, "$exception", properties)
5150

5251
return event

0 commit comments

Comments
 (0)