This is my function uploading data, I just want to ask if how to fix this. My problem is when an error occurred or having bad data, the functions stop. So how can I resume the f