Skip to content

Commit

Permalink
bandpass catch broad Exception in process.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rizac committed Jul 14, 2023
1 parent 4212545 commit 6f666ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mecompute/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6f666ee

Please sign in to comment.