Added error check on uploads.  If there is an error on the upload it is reported to the ox log.