From 5fdab67a71d8eb5a9d3372dad5b3235a06d54b0c Mon Sep 17 00:00:00 2001 From: Jorge Blanco Alonso Date: Tue, 9 Apr 2024 16:27:31 +0200 Subject: [PATCH] Raise Exception when there is an error in the report setup --- neurodamus/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurodamus/node.py b/neurodamus/node.py index 9ad398ab1..878157747 100644 --- a/neurodamus/node.py +++ b/neurodamus/node.py @@ -873,7 +873,7 @@ def enable_reports(self): self._report_list.append(report) if n_errors > 0: - raise ConfigurationError("%d reporting errors detected. Terminating" % (n_errors,)) + raise Exception("%d reporting errors detected. Terminating" % (n_errors,)) MPI.check_no_errors()