diff --git a/utils/blphub.py b/utils/blphub.py index fe7def0..e4efbc1 100755 --- a/utils/blphub.py +++ b/utils/blphub.py @@ -69,7 +69,11 @@ class BLPHub(): self.__lastFrameTimeout = ( currentTime + self.__streams[stream]['timeout'] ) - self.__output.sendFrame(frame) + try: + self.__output.sendFrame(frame) + except Exception as e: + # TODO better error handling + print('could not send frame: %s' % (repr(e))) return True return False