Closed nopeless closed 1 year ago
bump
'png'
written like this isn't a MIME type !
Replace .getBufferAsync(`png`)
with .getBufferAsync(Jimp.MIME_PNG)
instead
@intradeus @noahdeering can you please read. the issue states that the function is throwing a string not an error
bump
If anyone wants to submit a PR for this issue the fix should be easy. Willing to help merge and release!
@hipstersmoothie #1138
Expected Behavior
Should log
object
Current Behavior
logs
string
Failure Information (for bugs)
Steps to Reproduce
Here is a minimal reproducible example
Context
I am reporting this error because this broke my error catching express middleware.
Before the fix
Fixing by doing
After the fix
Hope to see this fixed soon 👍