spmallette commented on code in PR #1929:
URL: https://github.com/apache/tinkerpop/pull/1929#discussion_r1063394383
##########
gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs:
##########
@@ -131,9 +132,16 @@ public void TranslateTraversal(string traversalText)
{
_g = _g.WithComputer();
}
-
- _traversal =
- Gremlin.UseTraversal(ScenarioData.CurrentScenario.Name, _g,
_parameters);
+
+ try
+ {
+ _traversal =
+ Gremlin.UseTraversal(ScenarioData.CurrentScenario.Name,
_g, _parameters);
+ }
+ catch (Exception ex)
+ {
+ _error = ex;
Review Comment:
could you say what exception is expected here? i think `UseTraversal()` just
gets grabs the `Traversal` object. it doesn't iterate it. there shouldn't be
any errors on construction that i can think of. am i forgetting something?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]