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

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

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: