Skip to content

Commit

Permalink
chore(services/exporter): add more logs to the export process
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Jan 12, 2025
1 parent c2df68b commit 75267b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/services/exporter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ impl ExporterService {
let mut writer = JsonStreamWriter::new(file);
writer.begin_object().unwrap();
for export in ExportItem::iter() {
ryot_log!(debug, "Exporting {export}");
writer.name(&export.to_string())?;
writer.begin_array().unwrap();
match export {
Expand All @@ -131,6 +132,7 @@ impl ExporterService {
}
writer.end_object().unwrap();
writer.finish_document().unwrap();
ryot_log!(debug, "Exporting completed");
let ended_at = Utc::now();
let (_key, url) = self
.0
Expand Down

0 comments on commit 75267b1

Please sign in to comment.