Skip to content

Commit 4be3249

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 4ddc597 commit 4be3249

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
@@ -89,7 +89,7 @@ export const registerDocumentListeners = (context: vscode.ExtensionContext, coll
8989
updateFileDiagnostics(context, document, collection);
9090
}
9191
} catch (error) {
92-
console.error('Error processing already-open document:', error);
92+
console.error('Error processing already-open document:', document.uri.fsPath, error);
9393
}
9494
}
9595

0 commit comments

Comments
 (0)