You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(endpoints): handle exceptions in WebApiViewFunctionProvider
Wrap the endpoint collection logic in a try-catch block to handle potential ClassCastException and other exceptions, ensuring the CompletableFuture completes exceptionally in case of errors
/// java.lang.ClassCastException: class com.intellij.micronaut.jam.http.MnController cannot be cast to class
40
+
// com.intellij.spring.model.SpringBeanPointer (com.intellij.micronaut.jam.http.MnController is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @5d6888bf; com.intellij.spring.model.SpringBeanPointer is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @775c694b)
41
+
val map = collectUrls(project, endpointsProviderList)
42
+
val result =
43
+
"Here is current project web ${map.size} api endpoints: \n```\n"+ map.joinToString("\n") { url ->
0 commit comments