File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,7 @@ async fn generate_zip_preview(filelist_url: &str) -> anyhow::Result<()> {
397397 let file = file?;
398398 let path = file. path ( ) ;
399399 if path. is_file ( ) && path. extension ( ) . and_then ( |s| s. to_str ( ) ) == Some ( "zip" ) {
400+ println ! ( "Processing zip file: {:?}" , path. to_string_lossy( ) . as_ref( ) ) ;
400401 let tree = build_tree ( path. to_str ( ) . unwrap ( ) ) ?;
401402 let res = reqwest:: Client :: new ( )
402403 . post ( filelist_url)
@@ -434,6 +435,10 @@ async fn generate_zip_preview(filelist_url: &str) -> anyhow::Result<()> {
434435 ) ,
435436 image:: ImageFormat :: WebP ,
436437 ) ?;
438+ println ! (
439+ "Preview generated for zip file: {:?}" ,
440+ path. to_string_lossy( ) . as_ref( )
441+ ) ;
437442 }
438443 } //Generate zip preview
439444
You can’t perform that action at this time.
0 commit comments