We need to agree when tracebacks should be reported and then implement the agreed approach across the codebase.
Proposal:
- in debug mode always print a traceback
- in production mode only print a traceback for errors not specifically handled (then users can help us debug unexpected errors)
For an example of inconsistency, create a workflow with a space after a continuation line. cylc validate just returns an error message but cylc run reports a traceback as well.