Change to catch all exceptions so it'll continue uploading.