diff --git a/aiida_submission_controller/base.py b/aiida_submission_controller/base.py index 6e104dd..f6319c8 100644 --- a/aiida_submission_controller/base.py +++ b/aiida_submission_controller/base.py @@ -212,7 +212,7 @@ def submit_new_batch(self, dry_run=False, sort=True, verbose=False): # Actually submit wc_node = engine.submit(builder) - except (ValueError, TypeError, AttributeError) as exc: + except Exception as exc: CMDLINE_LOGGER.error(f"Failed to submit work chain for extras <{workchain_extras}>: {exc}") else: CMDLINE_LOGGER.report(f"Submitted work chain <{wc_node}> for extras <{workchain_extras}>.")