waylaidwanderer / FicSave

This is the repo for FicSave, an open-source online fanfiction downloader.
http://ficsave.xyz
GNU General Public License v3.0
192 stars 43 forks source link

Ebook was trying to be created with empty username/author #252

Open waylaidwanderer opened 3 years ago

waylaidwanderer commented 3 years ago

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'