diff --git a/openlp/plugins/remotes/lib/httpserver.py b/openlp/plugins/remotes/lib/httpserver.py index 0da445ede..345550f30 100644 --- a/openlp/plugins/remotes/lib/httpserver.py +++ b/openlp/plugins/remotes/lib/httpserver.py @@ -332,7 +332,12 @@ class HttpConnection(object): args = [] for param in match.groups(): args.append(param) - response = func(*args) + try: + response = func(*args) + except ValueError as error: + log.exception(u'Error while decoding JSON message ' + 'from remote browser.') + return False break if response: self.send_response(response)