diff --git a/report/report.go b/report/report.go index 5af4b95e..57f7cd6e 100644 --- a/report/report.go +++ b/report/report.go @@ -188,6 +188,9 @@ func FillWithOval(r *models.ScanResult) (err error) { case c.ServerTypePseudo: return nil default: + if r.Family == "" { + return fmt.Errorf("Probably an error occurred during scanning. Check the error message") + } return fmt.Errorf("OVAL for %s is not implemented yet", r.Family) }