Commit 56447858 authored by Daniel Scheffler's avatar Daniel Scheffler

First attempt to implement sentry_sdk.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 2d4eb793
Pipeline #5159 failed with stage
in 1 minute and 11 seconds
......@@ -355,6 +355,9 @@ class COREG(object):
print('\nWARNING: ' + warnMsg)
if not self.ignErr:
import sentry_sdk
raise error
def _set_outpathes(self, im_ref, im_tgt):
......@@ -25,6 +25,7 @@
import warnings as _warnings
from pkgutil import find_loader as _find_loader
import sentry_sdk
from arosics.CoReg import COREG
from arosics.CoReg_local import COREG_LOCAL
......@@ -45,3 +46,7 @@ __all__ = ['COREG',
# check optional dependencies
if not _find_loader('pyfftw'):
_warnings.warn('PYFFTW library is missing. However, coregistration works. But in some cases it can be much slower.')
# initialize Sentry SDK for automatic error tracking
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment