mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 07:26:36 +02:00
feat(print): display detailed error on print failure
This commit is contained in:
@@ -170,7 +170,7 @@ export default function PrintPreviewDialog() {
|
||||
toast.showPersistent({
|
||||
id: "print-preview-error",
|
||||
icon: "bx bx-error-circle",
|
||||
message: t("print_preview.render_error")
|
||||
message: `${t("print_preview.render_error")}\n\n${error}`
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user