Commit 2ab6962
Don't log error if info for deleted marker is not found
Its possible that a marker is deleted, while its info is being retrieved.
This will produce a logged error such as: "Marker id 6922 not found.",
while the caller continues working without the info.
In this case, the logged error is not necessary - the marker is gone,
not being able to retrieve its info is expected behavior.
This change adjusts MarkerUtilities to not log an error for a not found Marker,
if the marker is not existing at the time of catching the respective exception.
Fixes: #22191 parent 68371cb commit 2ab6962
File tree
1 file changed
+6
-1
lines changed- bundles/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
261 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
262 | 267 | | |
263 | 268 | | |
264 | 269 | | |
| |||
0 commit comments