You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
println!("Image-rs library crashed when opening \"{:?}\" image, please check if problem happens with latest image-rs version(this can be checked via https://github.com/qarmin/ImageOpening tool) and if it is not reported, please report bug here - https://github.com/image-rs/image/issues", file_entry_clone.path);
481
-
file_entry_clone.error_string = "Image crashes due parsing, please check if problem happens with updated https://github.com/qarmin/ImageOpening and later report here https://github.com/image-rs/image/issues".to_string();
480
+
let message = create_crash_message("Image-rs",&file_entry_clone.path.to_string_lossy().to_string(),"https://github.com/Serial-ATA/lofty-rs");
let message = create_crash_message("Symphonia",&file_entry_clone.path.to_string_lossy().to_string(),"https://github.com/pdeljanov/Symphonia");
510
+
println!("{message}");
511
+
file_entry_clone.error_string = message;
512
+
Some(Some(file_entry_clone))
513
513
}
514
+
}
514
515
Err(_inspected) => Some(None),
515
516
},
516
517
@@ -540,12 +541,13 @@ impl BrokenFiles {
540
541
ifletOk(pdf_result) = result {
541
542
pdf_result
542
543
}else{
543
-
println!("PDF-rs library crashed when opening \"{:?}\" pdf, and if it is not reported, please report bug here - https://github.com/pdf-rs/pdf", file_entry_clone.path);
544
-
file_entry_clone.error_string = "PDF-rs library crashed when opening pdf, and if it is not reported, please report bug here - https://github.com/pdf-rs/pdf".to_string();
544
+
let message = create_crash_message("PDF-rs",&file_entry_clone.path.to_string_lossy().to_string(),"https://github.com/pdf-rs/pdf");
format!("{library_name} library crashed when opening \"{file_path}\", please check if this is fixed with the latest version of {library_name} (e.g. with https://github.com/qarmin/crates_tester) and if it is not fixed, please report bug here - {home_library_url}")
172
+
}
173
+
170
174
implCommon{
171
175
/// Printing time which took between start and stop point and prints also function name
println!("Image-rs library crashed when opening \"{:?}\" image, please check if problem happens with latest image-rs version(this can be checked via https://github.com/qarmin/ImageOpening tool) and if it is not reported, please report bug here - https://github.com/image-rs/image/issues", file_entry.path);
603
+
let message = create_crash_message("Image-rs",&file_entry.path.to_string_lossy().to_string(),"https://github.com/image-rs/image/issues");
0 commit comments