fix(report): too many SQL variables (#1296)

* fix(report): too many SQL variables

https://github.com/kotakanbe/go-cve-dictionary/pull/210

* fix lint err
This commit is contained in:
Kota Kanbe
2021-09-01 10:42:19 +09:00
committed by GitHub
parent b4e49e093e
commit b9416ae062
4 changed files with 22 additions and 17 deletions

View File

@@ -656,7 +656,7 @@ func (s Scanner) getScanResults(scannedAt time.Time) (results models.ScanResults
if o.getServerInfo().Module.IsScanPort() {
if err = o.scanPorts(); err != nil {
// continue scanning
logging.Log.Warnf("Failed to scan Ports: %w", err)
logging.Log.Warnf("Failed to scan Ports: %+v", err)
}
}
if o.getServerInfo().Module.IsScanWordPress() {