mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Fix: Return properly early
This commit is contained in:
parent
091854a248
commit
02d4931152
1 changed files with 1 additions and 0 deletions
|
|
@ -1437,6 +1437,7 @@ func (p *processor) checkWellknown(domain string) {
|
|||
if err != nil {
|
||||
p.badWellknownMetadata.add(ErrorType,
|
||||
fmt.Sprintf("Fetching %s failed: %v", path, err))
|
||||
return
|
||||
}
|
||||
if res.StatusCode != http.StatusOK {
|
||||
p.badWellknownMetadata.add(ErrorType, fmt.Sprintf("Fetching %s failed. Status code %d (%s)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue