ayushsharma82 / ElegantOTA

OTA updates made slick and simple for everyone!
https://elegantota.pro
GNU Affero General Public License v3.0
643 stars 119 forks source link

PlatformIO Upload: Improve error handling/logging, fix typos. #195

Closed gongloo closed 4 months ago

gongloo commented 5 months ago

PlatformIO assumes successful upload if there's no return value. This PR returns error messages for several error conditions so that PlatformIO correctly reports upload failures as such, rather than as successful uploads.