diff --git a/marconi/transport/helpers.py b/marconi/transport/helpers.py index f109876f0..339161cc2 100644 --- a/marconi/transport/helpers.py +++ b/marconi/transport/helpers.py @@ -30,7 +30,7 @@ def read_json(stream): return json.load(stream) except ValueError as ex: - raise MalformedJSON(ex.message) + raise MalformedJSON(ex) def to_json(obj):