Skip to content

Commit 052ffa5

Browse files
committed
feature: handle unreachable case in clone-qdrant-from-offset script
1 parent b0f6850 commit 052ffa5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

server/src/bin/clone-qdrant-from-offset.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,10 @@ async fn main() -> Result<(), ()> {
344344
}
345345
}
346346
}
347-
_ => unreachable!(),
347+
Err(e) => {
348+
log::error!("Failed to fetch points from Qdrant: {}", e);
349+
unreachable!();
350+
}
348351
}
349352
}
350353
}

0 commit comments

Comments
 (0)