diff options
| author | Maximilian Möhring | 2019-05-15 16:58:56 +0200 |
|---|---|---|
| committer | Maximilian Möhring | 2019-05-15 16:58:56 +0200 |
| commit | c9afd4e8afe6a719b5d930c9baa2699442849fd8 (patch) | |
| tree | 3eb127ab39e8cacabef7c82a264f18ce4b8ee321 /crawler/sanitize.go | |
| parent | 428ed1c35be88fbfedc1569d6e9692778c89ff25 (diff) | |
| download | alkobote-c9afd4e8afe6a719b5d930c9baa2699442849fd8.tar.gz | |
Improves structured logging. (crawler)
Diffstat (limited to 'crawler/sanitize.go')
| -rw-r--r-- | crawler/sanitize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/sanitize.go b/crawler/sanitize.go index 8eb9444..031dd45 100644 --- a/crawler/sanitize.go +++ b/crawler/sanitize.go @@ -73,7 +73,7 @@ func sanitize_offer(angebote []Angebot, shop Shop, try int) []Angebot { } if len(W) < 1 { - log.Warn(fmt.Sprintf(`Sanitizer: No results for shop: '%s' (%d.) try`, shop.Name, try)) + shop.Warn(fmt.Sprintf(`Sanitizer: No results (%d. try)`, try)) } return W |
