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

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions