aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler_worker.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-02-25 11:45:45 -0800
committerBryan Newbold <bnewbold@archive.org>2022-02-25 11:45:45 -0800
commita0766e6a0100694434ddb2a4a895287806049ed8 (patch)
treec4661f29c3962f1db3fd02867ebce07d642c0bab /python/sandcrawler_worker.py
parent681eb8028f3e99796978288dcd10653909281f40 (diff)
downloadsandcrawler-a0766e6a0100694434ddb2a4a895287806049ed8.tar.gz
sandcrawler-a0766e6a0100694434ddb2a4a895287806049ed8.zip
more sentry config changes
Diffstat (limited to 'python/sandcrawler_worker.py')
-rwxr-xr-xpython/sandcrawler_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler_worker.py b/python/sandcrawler_worker.py
index 0164943..aebcbe1 100755
--- a/python/sandcrawler_worker.py
+++ b/python/sandcrawler_worker.py
@@ -486,7 +486,7 @@ def main():
except Exception:
print("failed to configure git revision", file=sys.stderr)
GIT_REVISION = None
- sentry_sdk.Client(release=GIT_REVISION, environment=args.env, max_breadcrumbs=10)
+ sentry_sdk.init(release=GIT_REVISION, environment=args.env, max_breadcrumbs=10)
args.func(args)