1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

upload.py should not always fail (#8608)

07789808b9 (r76344981)
thx @jjsuwa-sys3175
This commit is contained in:
Max Prokhorov 2022-06-19 01:22:33 +03:00 committed by GitHub
parent 07789808b9
commit 047f14b9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,5 +70,5 @@ except esptool.FatalError as e:
finally: finally:
if erase_file: if erase_file:
os.remove(erase_file) os.remove(erase_file)
if sys.exc_info: if any(sys.exc_info()):
sys.exit(2) sys.exit(2)