From d34e1b6cdbf4e601d5767520f79876bc44b8b61b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 13 Oct 2024 20:32:30 +0800 Subject: [PATCH] :loud_sound: Add logging for Unable to export the large PDF file https://github.com/siyuan-note/siyuan/issues/10982 --- app/electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/electron/main.js b/app/electron/main.js index 6d8efae17..ac42e8632 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -776,7 +776,7 @@ app.whenReady().then(() => { try { return getWindowByContentId(data.webContentsId).webContents.printToPDF(data.pdfOptions); } catch (e) { - writeLog(e); + writeLog("printToPDF: ", e); throw e; } }