Fixing OTA uplaod error caused by removing error catch