We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26528b9 commit 8f26e64Copy full SHA for 8f26e64
src/hooks/custom/utils/pdf.ts
@@ -119,10 +119,7 @@ export async function loadPdf(
119
const pagesCount = pdf.getPages().length;
120
return [false, pdf, pagesCount];
121
} catch (e) {
122
- console.error(e);
123
- console.warn(
124
- "Attempted to interpret file as pdf, but error arose when splitting by pages. Reverting to non-split pdf handling path."
125
- );
+ console.info("Loading PDF failed, so splitting is not enabled.");
126
return [true, null, 0];
127
}
128
0 commit comments