add try-except to uploadFileUpdateProgress