Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1744

Gremlin .NET: Exception from sync execution gets wrapped in AggregateException

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.5
    • 3.2.6
    • dotnet
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jorgebg Jorge Bay
            jorgebg Jorge Bay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment