Handle exceptions in the Uploader