You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2017/09/13 11:51:00 UTC

[jira] [Closed] (TINKERPOP-1744) Gremlin .NET: Exception from sync execution gets wrapped in AggregateException

     [ https://issues.apache.org/jira/browse/TINKERPOP-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette closed TINKERPOP-1744.
---------------------------------------
    Resolution: Fixed

> 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: dotnet
>    Affects Versions: 3.2.5
>            Reporter: Jorge Bay
>            Assignee: Jorge Bay
>             Fix For: 3.2.6
>
>
> 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
(v6.4.14#64029)