DebugClients/Python3/DebugClientBase.py

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

eric ide

mercurial