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

Guillaume Nodet updated KARAF-1040:
-----------------------------------

    Fix Version/s: 2.3.0
    
> Commands should not catch exceptions but should rethrow them
> ------------------------------------------------------------
>
>                 Key: KARAF-1040
>                 URL: https://issues.apache.org/jira/browse/KARAF-1040
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.3.0, 3.0.0
>
>
> The exception should be catched by the console and printed nicely.
> The {{dev:print-stack-traces}} allows users to actually see the stack trace, 
> whereas if the exception is discarded, nothing can be seen.
> See the example below:
> {code}
> karaf@root> dev:print-stack-traces 
> karaf@root> feature:add-url foo
> Could not add Feature Repository:
> java.lang.IllegalArgumentException: invalid URI: foo
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to