aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zameer Manji (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-1207) Provide pants style error messages for syntax errors in configs
Date Tue, 17 Mar 2015 20:25:39 GMT
Zameer Manji created AURORA-1207:
------------------------------------

             Summary: Provide pants style error messages for syntax errors in configs
                 Key: AURORA-1207
                 URL: https://issues.apache.org/jira/browse/AURORA-1207
             Project: Aurora
          Issue Type: Task
            Reporter: Zameer Manji


Currently the client does not provide any detailed information if there is a syntax error
in an aurora config. We should consider providing detailed information like pants:
{noformat}
[tw-mbp-zmanji aurora (master)]$ ./pants binary src/main/python/apache/aurora/client/cli:aurora

Exception message: Error parsing /Users/zmanji/workspace/aurora/src/main/python/apache/aurora/client/cli/BUILD:
   15: python_binary(
   16:   name='aurora',
   17:   entry_point = 'apache.aurora.client.cli.client:proxy_main'
*  18:   dependencies = [
                    ^ SyntaxError: invalid syntax (<string>, line 18)

   19:     ':client_lib'
   20:   ],
   21: )
   22:

 Loading addresses from 'src/main/python/apache/aurora/client/cli' failed.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message