Skip to content

Commit

Permalink
Improve awkward error message
Browse files Browse the repository at this point in the history
  • Loading branch information
eykamp authored and projectgus committed Apr 18, 2019
1 parent 8b64c3f commit fd1788c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,7 @@ def add_spi_flash_subparsers(parent, is_elf2image):
print("%s failed to connect: %s" % (each_port, err))
esp = None
if esp is None:
raise FatalError("All of the %d available serial ports could not connect to a Espressif device." % len(ser_list))
raise FatalError("Could not connect to an Espressif device on any of the %d available serial ports." % len(ser_list))

print("Chip is %s" % (esp.get_chip_description()))

Expand Down

0 comments on commit fd1788c

Please sign in to comment.