- skip below code when vital elements 'domain', 'severity' are not found
logger.debug("block[]='%s' is of type 'dict' - SKIPPED!", type(block))
continue
elif "domain" not in block:
- logger.warning("block()=%d does not contain element 'domain'", len(block))
+ logger.warning("block()=%d does not contain element 'domain' - SKIPPED!", len(block))
+ continue
elif "severity" not in block:
- logger.warning("block()=%d does not contain element 'severity'", len(block))
+ logger.warning("block()=%d does not contain element 'severity' - SKIPPED!", len(block))
+ continue
reason = tidyup.reason(block["comment"]) if "comment" in block and block["comment"] is not None and block["comment"] != "" else None