when uploading tarballs, check for errors

and throw something that looks better than [Object Object]