From 6f666eec51f663da7c29eabbaf9d186c5a9455de Mon Sep 17 00:00:00 2001 From: rizac Date: Fri, 14 Jul 2023 16:57:00 +0200 Subject: [PATCH] bandpass catch broad Exception in process.py --- mecompute/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mecompute/process.py b/mecompute/process.py index e81df1a..524f0ef 100644 --- a/mecompute/process.py +++ b/mecompute/process.py @@ -235,7 +235,7 @@ def main(segment, config): # (no gaps/overlaps) try: trace = bandpass_remresp(segment, config) - except (ValueError, TypeError) as exc: + except Exception as exc: # noqa raise SkipSegment('error in bandpass_remresp: %s' % str(exc)) spectra = signal_noise_spectra(segment, config)