Avoid propagating server tool exception message to client (#242)
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
This commit is contained in:
parent
b9c0f269d6
commit
dfafebd8fe
1 changed files with 2 additions and 2 deletions
|
|
@ -376,7 +376,7 @@ public class McpServerBuilderExtensionsToolsTests : ClientServerTestBase
|
|||
Assert.True(result.IsError);
|
||||
Assert.NotNull(result.Content);
|
||||
Assert.NotEmpty(result.Content);
|
||||
Assert.Contains("Test error", result.Content[0].Text);
|
||||
Assert.Contains("An error occurred", result.Content[0].Text);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Reference in a new issue