We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2b727 commit 89daa44Copy full SHA for 89daa44
src/fs_store.rs
@@ -361,7 +361,7 @@ impl Chunks {
361
fn load(root: &Path, doc_id: &DocumentId) -> Result<Option<Self>, Error> {
362
let doc_id_hash = DocIdPaths::from(doc_id);
363
let level2_path = doc_id_hash.level2_path(root);
364
- tracing::debug!(
+ tracing::warn!(
365
root=%root.display(),
366
doc_id=?doc_id,
367
doc_path=%level2_path.display(),
@@ -445,7 +445,11 @@ impl Chunks {
445
for chunk in self.incrementals.values() {
446
bytes.extend(chunk);
447
}
448
- automerge::Automerge::load(&bytes)
+
449
+ automerge::Automerge::load_with_options(
450
+ &bytes,
451
+ automerge::LoadOptions::new().on_partial_load(automerge::OnPartialLoad::Ignore),
452
+ )
453
454
455
0 commit comments