gnikol / P4-Wireshark-Dissector

This repository contains the Wireshark dissector generator from a P4 file input.
Apache License 2.0
14 stars 6 forks source link

Return errors instead of tracebacks #7

Closed gnikol closed 8 years ago

gnikol commented 8 years ago

eg: Traceback (most recent call last): File "dissector/main.py", line 56, in previous_protocol_name = parse_state.prev.map.keys()[0].latest_extraction.name AttributeError: 'NoneType' object has no attribute 'name'