From a0766e6a0100694434ddb2a4a895287806049ed8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 25 Feb 2022 11:45:45 -0800 Subject: more sentry config changes --- python/scripts/deliver_dumpgrobid_to_s3.py | 2 +- python/scripts/deliver_gwb_to_disk.py | 2 +- python/scripts/deliver_gwb_to_s3.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'python/scripts') diff --git a/python/scripts/deliver_dumpgrobid_to_s3.py b/python/scripts/deliver_dumpgrobid_to_s3.py index a08cab5..27ccf21 100755 --- a/python/scripts/deliver_dumpgrobid_to_s3.py +++ b/python/scripts/deliver_dumpgrobid_to_s3.py @@ -111,7 +111,7 @@ def main(): ) args = parser.parse_args() - sentry_client = sentry_sdk.Client() + sentry_sdk.init() worker = DeliverDumpGrobidS3(**args.__dict__) worker.run(args.dump_file) diff --git a/python/scripts/deliver_gwb_to_disk.py b/python/scripts/deliver_gwb_to_disk.py index 8eb39dd..093f32a 100755 --- a/python/scripts/deliver_gwb_to_disk.py +++ b/python/scripts/deliver_gwb_to_disk.py @@ -187,7 +187,7 @@ def main(): ) args = parser.parse_args() - sentry_sdk.Client() + sentry_sdk.init() worker = DeliverGwbDisk(**args.__dict__) worker.run(args.manifest_file) diff --git a/python/scripts/deliver_gwb_to_s3.py b/python/scripts/deliver_gwb_to_s3.py index 644b134..6f37ede 100755 --- a/python/scripts/deliver_gwb_to_s3.py +++ b/python/scripts/deliver_gwb_to_s3.py @@ -202,7 +202,7 @@ def main(): ) args = parser.parse_args() - sentry_sdk.Client() + sentry_sdk.init() worker = DeliverGwbS3(**args.__dict__) worker.run(args.manifest_file) -- cgit v1.2.3