summaryrefslogtreecommitdiffstats
path: root/python/fatcat_import.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_import.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_import.py')
-rwxr-xr-xpython/fatcat_import.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index 33679868..5c480fc5 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -4,7 +4,7 @@ import argparse
import os
import sys
-import raven
+import sentry_sdk
from fatcat_tools import authenticated_api
from fatcat_tools.importers import (
@@ -45,7 +45,7 @@ from fatcat_tools.importers import (
)
# Yep, a global. Gets DSN from `SENTRY_DSN` environment variable
-sentry_client = raven.Client()
+sentry_client = sentry_sdk.init()
def run_crossref(args: argparse.Namespace) -> None: