Skip to content

Commit e6041be

Browse files
committed
Merge branch 'issue_612_jackson3' of https://github.com/scottslewis/mcp-java-sdk into issue_612_jackson3
2 parents 76ce84d + fbda61f commit e6041be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp-core/src/main/java/io/modelcontextprotocol/util/McpServiceLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public synchronized R getDefault() {
3838
// Use serviceloader
3939
Optional<?> sl = serviceLoad(this.supplierType);
4040
if (sl.isEmpty()) {
41-
throw new ServiceConfigurationError("No JsonMapperSupplier available for creating McpJsonMapper");
41+
throw new ServiceConfigurationError("No %s available for creating McpJsonMapper".format(this.supplierType.getSimpleName()));
4242
}
4343
this.supplier = (S) sl.get();
4444
}

0 commit comments

Comments
 (0)