Consolidate McpClientException/McpServerException into McpException (#209)
This commit is contained in:
parent
d1a3c201a4
commit
8fcdf95785
1 changed files with 163 additions and 197 deletions
|
|
@ -435,7 +435,7 @@ public class McpServerBuilderExtensionsToolsTests : LoggedTest, IAsyncDisposable
|
|||
{
|
||||
IMcpClient client = await CreateMcpClientForServer();
|
||||
|
||||
var e = await Assert.ThrowsAsync<McpClientException>(async () => await client.CallToolAsync(
|
||||
var e = await Assert.ThrowsAsync<McpException>(async () => await client.CallToolAsync(
|
||||
"NotRegisteredTool",
|
||||
cancellationToken: TestContext.Current.CancellationToken));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue