Closed lbrayner closed 7 months ago
While trying to run a test class I got the error org/eclipse/jdt/ls/core/internal/hover/JavaElementLabels. Inspecting the error object I got:
org/eclipse/jdt/ls/core/internal/hover/JavaElementLabels
{ code = -32001, data = { cause = { message = "org.eclipse.jdt.ls.core.internal.hover.JavaElementLabels cannot be found by com.microsoft.java.test.plugin_0.39.1" }, message = "org/eclipse/jdt/ls/core/internal/hover/JavaElementLabels" }, message = "org/eclipse/jdt/ls/core/internal/hover/JavaElementLabels", }
I think what's in data.cause.message is more useful.
data.cause.message
Thanks but I'd rather stick with the specified message. The data property can contain anything:
data
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#responseError
While trying to run a test class I got the error
org/eclipse/jdt/ls/core/internal/hover/JavaElementLabels
. Inspecting the error object I got:I think what's in
data.cause.message
is more useful.