Skip to content

Commit 6fb4bcf

Browse files
Copilotgarrytrinder
andcommitted
refactor: include document URI in error log for already-open document processing
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
1 parent d578df8 commit 6fb4bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/documents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const registerDocumentListeners = (context: vscode.ExtensionContext, coll
7878
updateFileDiagnostics(context, document, collection);
7979
}
8080
} catch (error) {
81-
console.error('Error processing already-open document:', error);
81+
console.error('Error processing already-open document:', document.uri.fsPath, error);
8282
}
8383
}
8484

0 commit comments

Comments
 (0)