uploader error handling