Add more specific errors on the cli module.
This commit is contained in:
parent
3abbd40b26
commit
542c4fca4b
1 changed files with 4 additions and 0 deletions
|
@ -46,4 +46,8 @@ def main():
|
||||||
else:
|
else:
|
||||||
result.setter()
|
result.setter()
|
||||||
print("OK")
|
print("OK")
|
||||||
|
elif ret is None:
|
||||||
|
print("- Couldn't understand that, oops... -")
|
||||||
|
else:
|
||||||
|
print("Unhandled response:", ret)
|
||||||
print("< Bye!")
|
print("< Bye!")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue