As per cloudinary JS API, an upload call looks like:
https://www.npmjs.com/package/cloudinary
cloudinary.uploader.upload(fileLocation, function(result) {
..something
});
There is no error returned in the callback. How do I capture the error?