Skip to content

Commit

Permalink
Log when headless is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinedwv committed Jul 3, 2024
1 parent a21838a commit 0b89b49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/summoner/acquire/acquire.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ func getDomain(v1 *viper.Viper, mc *minio.Client, urls []string, sourceName stri
log.WithFields(log.Fields{"url": urlloc, "issue": "converting json ld"}).Error("PageRenderAndUpload ", urlloc, "::", err)
repologger.WithFields(log.Fields{"url": urlloc, "issue": "converting json ld"}).Error(err)
}
} else {
log.WithFields(log.Fields{"url": urlloc, "issue": "No JSON-LD. No headless call"}).Trace("No JSON-LD. No headless call ", urlloc)
repologger.WithFields(log.Fields{"url": urlloc, "issue": "No JSON-LD. No headless call"}).Trace()

}

} else {
Expand Down

0 comments on commit 0b89b49

Please sign in to comment.