waylaidwanderer/FicSave

Ebook was trying to be created with empty username/author

waylaidwanderer opened this issue · 0 comments

Need to double-check validation code.

0|index    | (node:30820) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
0|index    | (node:30820) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
0|index    | Error: Title and content are both required
0|index    |     at new EPub (/root/FicSave/server/node_modules/epub-gen/lib/index.js:58:23)
0|index    |     at AdultFanfictionOrg.download (/root/FicSave/server/lib/Downloader/index.js:135:16)
0|index    |     at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|index    |     at async main (/root/FicSave/server/download.js:91:27)
0|index    | (node:30839) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open './tmp/ - .epub'