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

This commit is contained in:
Daniel 2024-10-13 20:32:30 +08:00
parent e84d05965f
commit d34e1b6cdb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -776,7 +776,7 @@ app.whenReady().then(() => {
try { try {
return getWindowByContentId(data.webContentsId).webContents.printToPDF(data.pdfOptions); return getWindowByContentId(data.webContentsId).webContents.printToPDF(data.pdfOptions);
} catch (e) { } catch (e) {
writeLog(e); writeLog("printToPDF: ", e);
throw e; throw e;
} }
} }