Skip to content

Commit

Permalink
Update sentry sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Dec 5, 2023
1 parent 47669f7 commit 745cb39
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fjob/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@


# Sentry

sentry_sdk.init(
dsn=str(os.getenv("SENTRY")),
traces_sample_rate=1.0,
profiles_sample_rate=1.0,
)
if WORKING_MODE == "prod":
sentry_sdk.init(
dsn=str(os.getenv("SENTRY")),
traces_sample_rate=1.0,
profiles_sample_rate=1.0,
)

0 comments on commit 745cb39

Please sign in to comment.