Skip to content

Commit 3f6f183

Browse files
committed
Ensures the scope is logged
1 parent 4ee327b commit 3f6f183

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/views/viewBase.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,12 @@ export abstract class ViewBase<
801801
): Promise<void> {
802802
if (this.tree == null) return;
803803

804+
const scope = getLogScope();
805+
804806
try {
805807
await this.tree.reveal(node, options);
806808
} catch (ex) {
807-
Logger.error(ex);
809+
Logger.error(ex, scope);
808810
debugger;
809811
}
810812
}

0 commit comments

Comments
 (0)