Added ParseError to third-party packet error handling

This commit is contained in:
Bill Mitchell 2018-05-01 12:03:57 -05:00
parent 3e3f75f6a2
commit 441edbfeed
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def parse_thirdparty(body):
# Parse sub-packet
try:
subpacket = parse(body)
except (UnknownFormat) as ukf:
except (UnknownFormat,ParseError) as ukf:
raise
parsed.update({'subpacket':subpacket})