Skip to content

Commit

Permalink
recover error message
Browse files Browse the repository at this point in the history
Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
yuye-aws committed Jun 11, 2024
1 parent 563cfea commit 656e1bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ public void testSearchIndexToolInFlowAgent_withIllegalQueryField_thenThrowExcept
+ " }\n"
+ "}\n";
Exception exception = assertThrows(ResponseException.class, () -> executeAgent(agentId, agentInput));
MatcherAssert.assertThat(exception.getMessage(), containsString("SearchIndexTool's two parameter: index and query are required!"));
MatcherAssert.assertThat(exception.getMessage(), containsString("ParsingException"));
}
}

0 comments on commit 656e1bc

Please sign in to comment.