Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku & Unix: toimg #40

Closed
ariffb25 opened this issue Feb 6, 2021 · 0 comments
Closed

Heroku & Unix: toimg #40

ariffb25 opened this issue Feb 6, 2021 · 0 comments

Comments

@ariffb25
Copy link
Collaborator

ariffb25 commented Feb 6, 2021

2021-02-06T05:16:48.028338+00:00 app[worker.1]: (node:16) UnhandledPromiseRejectionWarning: Error: Could not find MIME for Buffer <null>
2021-02-06T05:16:48.028339+00:00 app[worker.1]:     at Jimp.parseBitmap (/app/node_modules/@jimp/core/dist/utils/image-bitmap.js:187:15)
2021-02-06T05:16:48.028340+00:00 app[worker.1]:     at Jimp.parseBitmap (/app/node_modules/@jimp/core/dist/index.js:431:32)
2021-02-06T05:16:48.028340+00:00 app[worker.1]:     at new Jimp (/app/node_modules/@jimp/core/dist/index.js:384:13)
2021-02-06T05:16:48.028341+00:00 app[worker.1]:     at _construct (/app/node_modules/@babel/runtime/helpers/construct.js:19:21)
2021-02-06T05:16:48.028341+00:00 app[worker.1]:     at /app/node_modules/@jimp/core/dist/index.js:926:32
2021-02-06T05:16:48.028342+00:00 app[worker.1]:     at new Promise (<anonymous>)
2021-02-06T05:16:48.028343+00:00 app[worker.1]:     at Function.Jimp.read (/app/node_modules/@jimp/core/dist/index.js:925:10)
2021-02-06T05:16:48.028343+00:00 app[worker.1]:     at Object.compressImage (/app/node_modules/@adiwajshing/baileys/lib/WAConnection/Utils.js:260:39)
2021-02-06T05:16:48.028344+00:00 app[worker.1]:     at Object.generateThumbnail (/app/node_modules/@adiwajshing/baileys/lib/WAConnection/Utils.js:297:36)
2021-02-06T05:16:48.028344+00:00 app[worker.1]:     at WAConnection.prepareMessageMedia (/app/node_modules/@adiwajshing/baileys/lib/WAConnection/6.MessagesSend.js:131:23)
2021-02-06T05:16:48.028530+00:00 app[worker.1]: (node:16) 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: 2)

any help?

@ariffb25 ariffb25 changed the title Heroku: toimg Heroku & Unix: toimg Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant