Skip to content

Improve the error message when a SITE is not specified #217

@ehogan

Description

@ehogan

Following on from #210, the error message return when running cylc vip is:

% cylc vip
$ cylc validate CMEW
Jinja2Error: Jinja2 Assertion Error: SITE must be set to something other than an empty string
File CMEW/flow.cylc
  #!jinja2
  # flow.cylc
  {{ assert(SITE != "", "SITE must be set to something other than an empty string") }}	<-- Exception

Improve this message by adding something about the fact that the SITE can be set by using -O <site>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions