Added ParseError to third-party packet error handling
This commit is contained in:
parent
2e22a3c985
commit
6b96f01db2
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Reference in New Issue