diff --git a/consulate/api/base.py b/consulate/api/base.py index d9f129b..b870312 100644 --- a/consulate/api/base.py +++ b/consulate/api/base.py @@ -133,8 +133,7 @@ def _demarshal(self, body): if utils.PYTHON3 and isinstance(body, bytes): body = body.decode('utf-8') value = json.loads(body, encoding='utf-8') - except (TypeError, ValueError) as error: - print("Error:", error) + except (TypeError, ValueError): return body if isinstance(value, bool): return value