Instead of failing when an enabled source is no longer in the index, log
an error and continue onto the next source.
Ticket 5269
"Source index is required for source %s; "
"run suricata-update update-sources" % (source["source"]))
source_config = index.get_source_by_name(name)
+ if source_config is None:
+ logger.warn("Source no longer exists in index and will not be fetched: {}".format(name))
+ continue
try:
checksum = source_config["checksum"]
except: