We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a9bcee commit 518071dCopy full SHA for 518071d
1 file changed
api/src/org/labkey/api/mcp/McpService.java
@@ -133,10 +133,9 @@ default void register(McpImpl mcp)
133
if (null != resources && !resources.isEmpty())
134
registerResources(resources);
135
}
136
- catch (Exception e)
+ catch (NoSuchMethodError t)
137
{
138
- String advice = e.getMessage().contains("victools") ? " Try doing a clean build of API." : "";
139
- LOG.error("Exception while registering MCP implementations. The MCP server will not be available.{}", advice, e);
+ LOG.error("You likely need to do a clean build of API! Exception while registering an MCP implementation.", t);
140
141
142
0 commit comments