aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Chu-Carroll (JIRA)" <>
Subject [jira] [Commented] (AURORA-779) v2 client has worse error message than v1
Date Thu, 02 Oct 2014 18:38:34 GMT


Mark Chu-Carroll commented on AURORA-779:

Getting rid of the stack traces was deliberate. Personally, I think that there's nothing worse
in a command-line tool that having it toss its cookies and dump a stack trace.

The error here should get the line number and show it to the user. But I still don't want
the stack dump, if I can possibly avoid it.

> v2 client has worse error message than v1
> -----------------------------------------
>                 Key: AURORA-779
>                 URL:
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client, Usability
>            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:
> {code}
> instances = {{profile.instances}}
> {code}
> where I should have been doing
> {code}
> instances = "{{profile.instances}}"
> {code}
> The error message on the v2 client was:
> {quote}
> Error executing command: Error loading configuration: name 'profile' is not defined
> {quote}
> The v1 client gave me a line number:
> {quote}
>   File "router.aurora", line 90, in <module>
>     instances = {{profile.instances}},
> NameError: name 'profile' is not defined
> {quote}

This message was sent by Atlassian JIRA

View raw message