[ 
https://issues.apache.org/jira/browse/FALCON-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059822#comment-15059822
 ] 

Ajay Yadava commented on FALCON-1669:
-------------------------------------

Hi [~baishuo],

Thank you for reporting this JIRA and taking it up. I agree with your issue 
that Unable to initialize Falcon Client Object is not a helpful message, but  
stacktrace is not very user friendly either. You may want to consider the 
option of showing exection.getMessage() . 

In other CLI commands as well, we follow this approach, we show exception's 
message by default and if the user specifies debug option then we show the 
stacktrace. You may want to consider the same approach.

> Falcon should show the stackstrace info rather than just "Unable to 
> initialize Falcon Client object"
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-1669
>                 URL: https://issues.apache.org/jira/browse/FALCON-1669
>             Project: Falcon
>          Issue Type: Improvement
>          Components: client
>            Reporter: baishuo
>         Attachments: FALCON-1669.patch
>
>
> when client fail to start, we only get the information "Unable to initialize 
> Falcon Client object", I think we need more inforamation to get root cause. 
> So I think print the stacktrace of exception is nessasary



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

Reply via email to