database: Fix invalid error message

pull/111/head
Quentin Machu 8 years ago
parent 093107c6d8
commit 79ba99bbea

@ -152,7 +152,7 @@ func (pgSQL *pgSQL) loadLayerIntroducingVulnerability(vulnerability *database.Vu
rows, err := pgSQL.Query(searchNotificationLayerIntroducingVulnerability,
vulnerability.ID, startID, limit+1)
if err != nil {
return 0, handleError("searchVulnerabilityFixedInFeature", err)
return 0, handleError("searchNotificationLayerIntroducingVulnerability", err)
}
defer rows.Close()

Loading…
Cancel
Save