diff --git a/src/annotations/lineAnnotationController.ts b/src/annotations/lineAnnotationController.ts index 41af8a6..25d4c2d 100644 --- a/src/annotations/lineAnnotationController.ts +++ b/src/annotations/lineAnnotationController.ts @@ -237,7 +237,10 @@ export class LineAnnotationController implements Disposable { const commitLines = [ ...Iterables.filterMap(lines, l => { const state = Container.lineTracker.getState(l); - if (state?.commit == null) return undefined; + if (state?.commit == null) { + Logger.debug(cc, `Line ${l} returned no commit`); + return undefined; + } return [l, state.commit]; })