aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpython/ingest_tool.py2
-rwxr-xr-xpython/sandcrawler_worker.py2
-rwxr-xr-xpython/scripts/deliver_dumpgrobid_to_s3.py2
-rwxr-xr-xpython/scripts/deliver_gwb_to_disk.py2
-rwxr-xr-xpython/scripts/deliver_gwb_to_s3.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/python/ingest_tool.py b/python/ingest_tool.py
index 7866630..a155842 100755
--- a/python/ingest_tool.py
+++ b/python/ingest_tool.py
@@ -218,7 +218,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)
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)
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)