Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 6e2b207

Browse files
committed
Move trace annotation to proper fn
1 parent 7c058c9 commit 6e2b207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_api/types/commit/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def resolve_critical_files(commit: Commit, info, **kwargs) -> List[CriticalFile]
147147
return profiling_summary.critical_files
148148

149149

150+
@sentry_sdk.trace
150151
def get_sorted_path_contents(
151152
current_owner: Owner,
152153
commit: Commit,
@@ -226,7 +227,6 @@ def get_sorted_path_contents(
226227
return sort_path_contents(items, filters)
227228

228229

229-
@sentry_sdk.trace
230230
@commit_bindable.field("pathContents")
231231
@sync_to_async
232232
def resolve_path_contents(

0 commit comments

Comments
 (0)