DEV Community

Discussion on: How to store image in Cloudinary Nodejs REST

Collapse
 
binzlark profile image
Phan Việt Tân

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

Collapse
 
xemicolon profile image
Light • Edited

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