chore: update logs for encoding collab

This commit is contained in:
nathan 2024-04-03 15:02:11 +08:00
parent 2cc5d75d01
commit d822391dbc
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ where
.await
{
Ok(_) => self.edit_state.tick(), // Update the edit state on successful save
Err(err) => error!("fail to save collab to disk: {:?}", err),
Err(err) => warn!("fail to save collab to disk: {:?}", err),
}
},
Err(err) => {
@ -123,7 +123,7 @@ where
.await
{
Ok(_) => self.edit_state.tick(), // Update the edit state on successful save
Err(err) => error!("fail to save collab to disk: {:?}", err),
Err(err) => warn!("fail to save collab to disk: {:?}", err),
}
},
Err(err) => {

View File

@ -239,7 +239,7 @@ impl SnapshotCommandRunner {
match validate_encode_collab(&next_item.object_id, &data, &next_item.collab_type) {
Ok(_) => data,
Err(err) => {
error!(
warn!(
"Collab doc state is not correct when creating snapshot: {},{}",
next_item.object_id, err
);