Skip to content

Commit

Permalink
console: Adjust format string for could-not-connect message (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
wlhlm authored Oct 27, 2024
1 parent 86a3dec commit 53d8dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmk_cli/subcommands/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def run_forever(self):
except Exception as e:
device['e'] = e
device['e_name'] = e.__class__.__name__
cli.log.error("Could not connect to %(color)s%(manufacturer_string)s %(product_string)s{style_reset_all} (%(color)s:%(vendor_id)04X:%(product_id)04X:%(index)d): %(e_name)s: %(e)s", device)
cli.log.error("Could not connect to %(color)s%(manufacturer_string)s %(product_string)s{style_reset_all} (%(color)s%(vendor_id)04X:%(product_id)04X:%(index)d{style_reset_all}): %(e_name)s: %(e)s", device)
if cli.config.general.verbose:
cli.log.exception(e)
del live_devices[device['path']]
Expand Down

0 comments on commit 53d8dab

Please sign in to comment.