Skip to content

Commit 70a53ef

Browse files
committed
Reveal file path on indexer error
1 parent 7bb1751 commit 70a53ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ark/src/lsp/indexer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ pub fn start(folders: Vec<String>) {
6969
for entry in walker.into_iter().filter_entry(|e| filter_entry(e)) {
7070
if let Ok(entry) = entry {
7171
if entry.file_type().is_file() {
72-
if let Err(error) = index_file(entry.path()) {
73-
error!("{:?}", error);
72+
if let Err(err) = index_file(entry.path()) {
73+
error!("Can't index file {:?}: {err:?}", entry.path());
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)