Added ParseError to third-party packet error handling

This commit is contained in:
Bill Mitchell 2018-05-01 12:03:57 -05:00 committed by Rossen Georgiev
parent 2e22a3c985
commit 6b96f01db2
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})