anki / cozmo-python-sdk

Anki Cozmo Python SDK
Other
662 stars 430 forks source link

add a throw_error flag to run_program to throw error rather than exit #169

Closed AdrieanKhisbe closed 6 years ago

AdrieanKhisbe commented 6 years ago

I started building a REPL starting from the cli.py program in the sdk examples.

I have the need to catch connexion error to display some message in a more frendly way than logs. Here is a patch to enable this =)

MarkWez commented 6 years ago

@AdrieanKhisbe I see that you have completed the CLA, so I'm happy to merge this in once the requested changes have been made.

AdrieanKhisbe commented 6 years ago

@MarkWesleyAtAnki, voilà! :)

MarkWez commented 6 years ago

@AdrieanKhisbe Great - thanks!