Skip to content

Consistent reporting of tracebacks #82

@dpmatthews

Description

@dpmatthews

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions