Skip to content

Commit

Permalink
Tweak error msg.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Apr 29, 2024
1 parent f2f250d commit 265c0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ def _check_completion_expression(self, task_name: str, expr: str) -> None:
# NOTE: str(exc) == "name 'x' is not defined" tested in
# tests/integration/test_optional_outputs.py
f'Error in [runtime][{task_name}]completion:'
f'\nInput {error}'
f'\n{error}'
)
except Exception as exc: # includes InvalidCompletionExpression
# expression contains non-whitelisted syntax or any other error in
Expand Down

0 comments on commit 265c0c2

Please sign in to comment.