Skip to content

Commit 8e7ee7c

Browse files
committed
fix: don't log BadLocationException as error during async marker updates
1 parent 693b2c1 commit 8e7ee7c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ jobs:
8080

8181
steps:
8282
- name: "Show: GitHub context"
83-
run: echo '${{ toJSON(github) }}'
83+
env:
84+
GITHUB_CONTEXT: ${{ toJSON(github) }}
85+
run: echo $GITHUB_CONTEXT
8486

8587

8688
- name: "Show: environment variables"

org.eclipse.tm4e.ui/src/main/java/org/eclipse/tm4e/ui/internal/utils/MarkerUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private static void updateTextMarkers(final ITMDocumentModel docModel, final int
168168
res.createMarker(markerTypeId, attrs);
169169
}
170170
} catch (final BadLocationException ex) {
171-
TMUIPlugin.logError(ex);
171+
TMUIPlugin.logTrace(ex);
172172
}
173173
}
174174

0 commit comments

Comments
 (0)