From c08bbc8b448e99b0ca04f0960eec34cd7bd6b2be Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 17 Mar 2020 02:53:46 -0400 Subject: [PATCH] Adds more debug logging --- src/annotations/lineAnnotationController.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]; })