diff --git a/panos/base.py b/panos/base.py index e7d3aa61..ab8232ca 100644 --- a/panos/base.py +++ b/panos/base.py @@ -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)