ASF GitHub Bot commented on TINKERPOP-1744:

Github user spmallette commented on the issue:

    VOTE +1

> Gremlin .NET: Exception from sync execution gets wrapped in AggregateException
> ------------------------------------------------------------------------------
>                 Key: TINKERPOP-1744
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1744
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: language-variant
>    Affects Versions: 3.2.5
>            Reporter: Jorge Bay
>            Assignee: Jorge Bay
> When getting a server side exception and executing a traversal synchronously 
> (ie: {{Next()}}, {{ToList()}}, ...), Gremlin.Net throws the original 
> exception wrapped in a {{AggregateException}}, which is not desired.
> This is caused by the {{Task.Wait()}} call on {{RemoteStrategy.Apply()}} 
> method.
> We should catch the wrapped exception and throw the original.

This message was sent by Atlassian JIRA

Reply via email to