From c9afd4e8afe6a719b5d930c9baa2699442849fd8 Mon Sep 17 00:00:00 2001 From: Maximilian Möhring Date: Wed, 15 May 2019 16:58:56 +0200 Subject: Improves structured logging. (crawler) --- crawler/sanitize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawler/sanitize.go') 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 -- cgit v1.2.3