DEV Community

Discussion on: How to store image in Cloudinary Nodejs REST

binzlark profile image
Phan Việt Tân

How do I catch errors and return json when the file type is wrong?

xemicolon profile image
Light • Edited on

I think you have to handle that on front end. Or backend. Whichever approach you take