Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli committed Aug 22, 2023
1 parent fb2d2eb commit f4b9a0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion viper/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ impl PersistentCache {
.unwrap_or_else(|e| error!("Failed to serialize the cache: {e}"));
match cache_buffer.into_inner() {
Err(e) => error!("Failed to flush the cache file: {e}"),
Ok(f) => f.sync_all()
Ok(f) => f
.sync_all()
.unwrap_or_else(|e| error!("Failed to sync the cache file to disk: {e}")),
}
}
Expand Down

0 comments on commit f4b9a0e

Please sign in to comment.