Skip to content

Commit 7fece16

Browse files
committed
Fix McpServerException rename
1 parent 7352efb commit 7fece16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/EverythingServer/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ await ctx.Server.RequestSamplingAsync([
169169
{
170170
if (ctx.Params?.Level is null)
171171
{
172-
throw new McpServerException("Missing required argument 'level'");
172+
throw new McpException("Missing required argument 'level'");
173173
}
174174

175175
_minimumLoggingLevel = ctx.Params.Level;

0 commit comments

Comments
 (0)