[Upload] Fix critical bug when uploading and error
[Generating dist files]