You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Szilard Nemeth (Jira)" <ji...@apache.org> on 2020/03/05 09:07:00 UTC

[jira] [Assigned] (SUBMARINE-51) Print short error messages in case of configuration issues

     [ https://issues.apache.org/jira/browse/SUBMARINE-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Szilard Nemeth reassigned SUBMARINE-51:
---------------------------------------

    Assignee:     (was: Szilard Nemeth)

> Print short error messages in case of configuration issues
> ----------------------------------------------------------
>
>                 Key: SUBMARINE-51
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-51
>             Project: Apache Submarine
>          Issue Type: Improvement
>          Components: Commons
>            Reporter: Szilard Nemeth
>            Priority: Major
>
> We need to "normalize" exceptions of YAML / CLI parser errors: Only print short texts (instead of stacktraces) when any issue happens.
> Some requirements (copied from SUBMARINE-47, quoting [~sunilg]): 
> {quote}
> In YamlParseException, mostly it is using super methods to print the cause. Since submarine is CLI driven, how bulky these exceptions traces will look like in console if any failure happens in parsing. Lets me try to cover some cases.
> 1. If file doesn't exist, a simple cleaner message in console is enough to state that the file is not present or invalid file.
> 2. If file contents are empty or in not a parsable format, we should show some more exception details.
> 3. Now coming to some parsing error due to some sections are not correctly indented or wrongly given, will we show the line number in exception stating that this line has some issues in parsing.?
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org