Skip to content

Commit

Permalink
tweak(snapshot): log a message on successful export
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapoz committed Apr 2, 2024
1 parent 17a9714 commit 5a7b9ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ async fn main() -> Result<()> {
std::fs::create_dir_all(export_path)?;
let exporter = SnapshotExporter::new(export_path, db_path)?;
exporter.export_snapshot(chunk_size)?;

tracing::info!("Succesfully exported snapshot files to \"{directory}\"!");
}
}

Expand Down

0 comments on commit 5a7b9ae

Please sign in to comment.