Skip to content

Commit

Permalink
py: exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Jul 8, 2024
1 parent cc0b767 commit 4935e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/miniconf-mqtt/miniconf/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ async def run():
devices = await discover(client, args.prefix)
if len(devices) != 1:
raise MiniconfException(
"Discover"
f"No unique Miniconf device (found `{devices}`). "
"Please specify a `--prefix`"
)
Expand Down

0 comments on commit 4935e2d

Please sign in to comment.