Commit 14a6f50
committed
feat: improve response error exception logs
Instead of just
!ENTRY org.eclipse.lsp4e 4 0 2025-12-17 09:07:40.931
!MESSAGE Internal error.
Produce an error that contains the internal error, such us
!ENTRY org.eclipse.lsp4e 4 0 2025-12-17 09:21:46.530
!MESSAGE Internal error.(-32603)
java.util.concurrent.CompletionException:
java.lang.NullPointerException: Cannot invoke
"org.eclipse.xtext.nodemodel.INode.getParent()" because "localNode" is
null
... (abbreviated) ...
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NullPointerException: Cannot invoke
"org.eclipse.xtext.nodemodel.INode.getParent()" because "localNode" is
null
at org.eclipse.xtext.nodemodel.util.NodeModelUtils$Implementation.findLeafNodeAtOffset(NodeModelUtils.java:235)
at org.eclipse.xtext.nodemodel.util.NodeModelUtils.findLeafNodeAtOffset(NodeModelUtils.java:74)
... (abbreviated) ...1 parent 6281ee7 commit 14a6f50
1 file changed
Lines changed: 19 additions & 2 deletions
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
113 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
114 | 131 | | |
115 | 132 | | |
116 | 133 | | |
| |||
145 | 162 | | |
146 | 163 | | |
147 | 164 | | |
148 | | - | |
| 165 | + | |
149 | 166 | | |
150 | 167 | | |
151 | 168 | | |
| |||
0 commit comments