fix: Kindness error message in reporting (#601)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user