         xhr
       cache: false
       contentType: false
-      complete: (jqxhr) =>
-        @uploadCompleted jqxhr
+
+      success: (response) =>
+        handleUp(response)
         return
+      error: (jqxhr)=>
+        utils.log("ERROR: got error uploading file #{jqxhr.responseText}")
 
       processData: false
       data: @formatData(file)

      utils.log "complete"
      utils.log complete

  uploadCompleted: (jqxhr)=>
    utils.log jqxhr

  ## EMBED
  displayEmbedPlaceHolder: ()->

      img_tag.height = i.height
      img_tag.width  = i.width
      unless i.width is 0 || i.height is 0
        utils.log "UPLOADED SHOW FROM CACHE"

        replaced_node.find(".aspectRatioPlaceholder").css
          'max-width': i.width
          'max-height': i.height

        @uploadFile file, replaced_node

    reader.readAsDataURL(file)

