DebugClients/Python2/DebugClientBase.py

changeset 5162
bbf2bb2d533c
parent 5161
f7b6ded9cc37
child 5171
f1e9eebd5469
--- a/DebugClients/Python2/DebugClientBase.py	Sun Sep 11 13:11:58 2016 +0200
+++ b/DebugClients/Python2/DebugClientBase.py	Sun Sep 11 16:39:30 2016 +0200
@@ -392,7 +392,7 @@
         
         try:
             commandDict = json.loads(jsonStr.strip())
-        except json.JSONDecodeError as err:
+        except (TypeError, ValueError) as err:
             printerr(str(err))
             return
         

eric ide

mercurial