Skip to content

Commit

Permalink
fix(_parse_job_results): Catch None details in response (#471)
Browse files Browse the repository at this point in the history
fixes #470
  • Loading branch information
undodelete authored Feb 7, 2024
1 parent 23ed1ad commit f01ae25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panos/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5168,7 +5168,7 @@ def _parse_job_results(self, show_job_xml, get_devices=True):
else:
try:
messages = job["details"]["line"]
except KeyError:
except (TypeError, KeyError):
messages = []
if isstring(messages):
messages = string_or_list(messages)
Expand Down

0 comments on commit f01ae25

Please sign in to comment.