Catching upload errors

Comments

1 comment

  • Official comment
    Avatar
    Shirly Manor

    Hi Jorg,

    In order to catch the error, you can catch `cloudinaryfail`. For example:
    $(function() {

    $(function() {
    $('.upload_field').unsigned_cloudinary_upload("UPLOAD_PRESET",{cloud_name:'<CLOUD_NAME>'})
    .on("cloudinaryfail", function(e,data){
    console.log("error! ", data.jqXHR.responseText);
    });
    });

     

    Comment actions Permalink

Please sign in to leave a comment.