1
0
Fork 0

exception handling for osc.send

This commit is contained in:
Kevin Matz 2018-10-25 14:36:26 -04:00
parent ee08529059
commit 1aaf12b6f3
1 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,10 @@ class HogDevice():
logger.error("ERROR: Net# " + str(device.number.value) +
" not found.")
return
osc.send(msg)
try:
osc.send(msg)
except Exception as e:
logger.error(e)
def _master_go(self, ctx):
if ctx.number is not None: