hello-efficiency-inc / raven-reader

📖 All your articles in one place. Beautiful.
https://ravenreader.app
MIT License
2.76k stars 218 forks source link

UnhandledPromiseRejectionWarning thrown #709

Open bigntallmike opened 2 years ago

bigntallmike commented 2 years ago

Describe the bug Just getting a warning on startup in the AppImage version 1.0.76:

(node:1442903) UnhandledPromiseRejectionWarning: TypeError: Error processing argument at index 0, conversion failure from 
    at Ar.enable (/tmp/.mount_Raven n8NAK2/resources/app.asar/background.js:2:5417651)
    at constructor.enableBlockingInSession (/tmp/.mount_Raven n8NAK2/resources/app.asar/background.js:2:5531267)
    at /tmp/.mount_Raven n8NAK2/resources/app.asar/background.js:2:5531655
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

(node:1442903) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag '--unhandled-rejections=strict' (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

Desktop (please complete the following information):