Skip to content

Commit 4859a95

Browse files
committed
chore(core): improve pdfkit not exists message
1 parent 800ac26 commit 4859a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export class PDFEasy {
309309
return new Promise(async (res, rej) => {
310310
if (!this.pdfkit) {
311311
this.reset()
312-
rej('PDFKit not exists.')
312+
rej('PDFKit not exists. Did you forget to call `new()` function before calling `run()`?')
313313
return
314314
}
315315

0 commit comments

Comments
 (0)