[
https://issues.apache.org/jira/browse/TINKERPOP-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510767#comment-15510767
]
Xian Yi Teng commented on TINKERPOP-1459:
-----------------------------------------
The main problem was the stack trace prompt is not useful because I can't
affect the outcome such that I can see the stack trace anyway. {{-e}} seems to
solve the problem, but it doesn't work with the console that comes with DSE,
and I was advised to make a TinkerPop ticket. So it looks like this can be
resolved as invalid...
> When executing lines from a file and encountering error, Gremlin console
> should disable stack trace prompt
> ----------------------------------------------------------------------------------------------------------
>
> Key: TINKERPOP-1459
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1459
> Project: TinkerPop
> Issue Type: Bug
> Components: console
> Affects Versions: 3.2.2
> Reporter: Xian Yi Teng
>
> {code}
> automaton@ip-10-200-156-87:~$ cat test.txt
> 1/0
> 1+1
> 2+2
> 3+3
> automaton@ip-10-200-156-87:~$ cat test.txt | dse gremlin-console
> \,,,/
> (o o)
> -----oOOo-(3)-oOOo-----
> plugin activated: tinkerpop.tinkergraph
> plugin activated: tinkerpop.server
> plugin activated: tinkerpop.utilities
> gremlin> 1/0
> Division by zero
> Display stack trace? [yN] 1+1
> gremlin> automaton@ip-10-200-156-87:~$
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)