[
https://issues.apache.org/jira/browse/LENS-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580619#comment-14580619
]
Himanshu Gahlaut commented on LENS-487:
---------------------------------------
This is the changed output.
Failure:
{code}
lens-shell>query execute abc
handleId: 26f366e1-7ab8-4db1-938e-a508ce5cfdd6
errorCode: 3001
errorMessage: Syntax Error: line 1:0 cannot recognize input near 'abc' '<EOF>'
'<EOF>'
{code}
Success:
{code}
lens-shell>query execute abc --async true
handleId: 1aa93117-584e-497e-8da1-7749eab32e3d
{code}
However this approach requires additional effort to craft output for every flow.
> 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)