diff --git a/hugvey/client.py b/hugvey/client.py index 0aa6187..6bf74db 100644 --- a/hugvey/client.py +++ b/hugvey/client.py @@ -312,7 +312,7 @@ class CommandHandler(object): t.start() self.playPopen = subprocess.Popen( - playCmd, stdout=subprocess.PIPE, env=environment_vars) + playCmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=environment_vars) self.sendMessage({ 'event': 'playbackStart', 'msgId': msgId @@ -321,6 +321,9 @@ class CommandHandler(object): returnCode = self.playPopen.returncode if self.playPopen else 0 logger.debug('finished') self.playPopen = None + logger.log(LOG_BS,out) + if len(err) > 0: + logger.critical(err) if t is not None: t.cancel()