Printing failures say printing failed, in every app (T-13)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 19:49:08 -04:00
1 parent 18158a8282
commit 843657a6b3
9 files changed
+18 -20

No files matched your search

+2 -4
View File
@@ -144,10 +144,8 @@ impl Book {
tab,
move |worker, doc| doc.export_pdf(worker, &url, &WHOLE),
move |book, written, _, cx| match written {
Ok(()) => ely_office::print_later(path, cx, |book, error, cx| {
book.output_failed(&error, cx)
}),
Err(error) => book.output_failed(&error.to_string(), cx),
Ok(()) => ely_office::print_later(path, cx),
Err(error) => book.print_failed(&error.to_string(), cx),
},
cx,
);