diff --git a/jc/parsers/traceroute.py b/jc/parsers/traceroute.py index 65485204..7f858b58 100644 --- a/jc/parsers/traceroute.py +++ b/jc/parsers/traceroute.py @@ -189,7 +189,7 @@ def loads(data): probe_rtt = None else: message = "Expected probe RTT or *. Got: '{}'".format(probe_rtt_annotation[0]) - raise Exception(message) + raise ParseError(message) probe_annotation = probe_rtt_annotation[2] or None