Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
blissd committed Apr 3, 2024
1 parent f4cc8dc commit a5316d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/background/generate_previews.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ impl GeneratePreviews {
continue;
}

sender.output(GeneratePreviewsOutput::PreviewUpdated(pic.picture_id, pic.square_preview_path));
if let Err(e) = sender.output(GeneratePreviewsOutput::PreviewUpdated(pic.picture_id, pic.square_preview_path)) {
println!("Failed sending PreviewUpdated: {:?}", e);
}
}

println!("Generated {} previews in {} seconds.", pics_count, start.elapsed().as_secs());
Expand Down

0 comments on commit a5316d3

Please sign in to comment.