aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sweeney (JIRA)" <>
Subject [jira] [Created] (AURORA-779) v2 client has worse error message than v1
Date Thu, 02 Oct 2014 00:04:36 GMT
Kevin Sweeney created AURORA-779:

             Summary: v2 client has worse error message than v1
                 Key: AURORA-779
             Project: Aurora
          Issue Type: Bug
          Components: Client
            Reporter: Kevin Sweeney

Copied from a user report at Twitter:

I had a typo in an aurora config, where I was resolving a mustache variable outside of a string:
instances = {{profile.instances}}
where I should have been doing
instances = "{{profile.instances}}"

The error message on the v2 client was:
Error executing command: Error loading configuration: name 'profile' is not defined

The v1 client gave me a line number:
  File "router.aurora", line 90, in <module>
    instances = {{profile.instances}},
NameError: name 'profile' is not defined

This message was sent by Atlassian JIRA

View raw message