You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Zameer Manji (JIRA)" <ji...@apache.org> on 2015/03/17 21:25:39 UTC

[jira] [Created] (AURORA-1207) Provide pants style error messages for syntax errors in configs

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)