aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_cleanup.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2021-12-16 02:45:10 +0000
committerbnewbold <bnewbold@archive.org>2021-12-16 02:45:10 +0000
commit1632a07d581e4f17148378ebcc6fc6c162ee430a (patch)
tree192b1924f0dff0b7d9792a17a8ef58088a5c3fb8 /python/fatcat_cleanup.py
parentb9d5c3853fe70663b0eff101c9ac4a1cbfd354e7 (diff)
parenta49df4d8f6c08ecd7a5b97a8a538b4a6f419e015 (diff)
downloadfatcat-1632a07d581e4f17148378ebcc6fc6c162ee430a.tar.gz
fatcat-1632a07d581e4f17148378ebcc6fc6c162ee430a.zip
Merge branch 'martin-sentry-sdk' into 'master'
move from raven to sentry_sdk See merge request webgroup/fatcat!135
Diffstat (limited to 'python/fatcat_cleanup.py')
-rwxr-xr-xpython/fatcat_cleanup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_cleanup.py b/python/fatcat_cleanup.py
index b8d0ee4d..b5e50425 100755
--- a/python/fatcat_cleanup.py
+++ b/python/fatcat_cleanup.py
@@ -4,13 +4,13 @@ import argparse
import os
import sys
-import raven
+import sentry_sdk
from fatcat_tools import authenticated_api
from fatcat_tools.cleanups import FileCleaner, JsonLinePusher
# Yep, a global. Gets DSN from `SENTRY_DSN` environment variable
-sentry_client = raven.Client()
+sentry_client = sentry_sdk.init()
def run_files(args: argparse.Namespace) -> None: