Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:loud_sound: Add logging for Unable to export the large PDF file https://github.com/siyuan-note/siyuan/issues/10982

Danield34e1b6cdbf4
diff --git a/app/electron/main.js b/app/electron/main.js
index 6d8efae175..ac42e8632d 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;
}
}