diff --git a/dojo/models.py b/dojo/models.py index ff34cde034a..f6bf09b143f 100644 --- a/dojo/models.py +++ b/dojo/models.py @@ -2185,6 +2185,8 @@ def hash_code_fields(self): elif (self.scan_type in settings.HASHCODE_FIELDS_PER_SCANNER): deduplicationLogger.debug(f"using HASHCODE_FIELDS_PER_SCANNER for scan_type: {self.scan_type}") hashCodeFields = settings.HASHCODE_FIELDS_PER_SCANNER[self.scan_type] + else: + deduplicationLogger.debug(f"test_type name {self.test_type.name} and scan_type {self.scan_type} not found in HASHCODE_FIELDS_PER_SCANNER") else: deduplicationLogger.debug("Section HASHCODE_FIELDS_PER_SCANNER not found in settings.dist.py")