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

Amareshwari Sriramadasu commented on LENS-487:
----------------------------------------------

Printing full json on cli is not looking good. 

bq. How is this looking ?
For failed query, something like following looks fine?
[3001] Syntax Error: line 1:0 cannot recognize input near 'mock' 'query' 
'<EOF>' 

For success query, Printing handleId should suffice.

Also, all other details - like request_id (which would be available for each 
command), full stacktrace should be logged in client logs. With --debug or 
--verbose options getting added through LENS-25, those would come in console 
automatically if required. But for simple user, all these details look too many 
internals.

What do others think?

> Implementation for consistent error response display for lens-client
> --------------------------------------------------------------------
>
>                 Key: LENS-487
>                 URL: https://issues.apache.org/jira/browse/LENS-487
>             Project: Apache Lens
>          Issue Type: Sub-task
>            Reporter: Himanshu Gahlaut
>            Assignee: Himanshu Gahlaut
>             Fix For: 2.2
>
>




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

Reply via email to