Skip to content

Commit 7104de6

Browse files
authored
Merge pull request #388 from mapswipe/hotfix-starrtime-results
use correct function in sentry to capture exception
2 parents 989eecb + dc62e53 commit 7104de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapswipe_workers/mapswipe_workers/firebase_to_postgres/transfer_results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ def results_to_file(results, projectId):
109109
end_time = results["endTime"]
110110
results = results["results"]
111111
except KeyError as e:
112-
sentry.capture_exception_sentry(e)
113-
sentry.capture_message_sentry(
112+
sentry.capture_exception(e)
113+
sentry.capture_message(
114114
f"at least one missing attribute for: "
115115
f"{projectId}/{groupId}/{userId}, will skip this one"
116116
)

0 commit comments

Comments
 (0)