summaryrefslogtreecommitdiff
path: root/crawler/shop_whic.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_whic.go')
-rw-r--r--crawler/shop_whic.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawler/shop_whic.go b/crawler/shop_whic.go
index b21c042..0df7caf 100644
--- a/crawler/shop_whic.go
+++ b/crawler/shop_whic.go
@@ -129,7 +129,9 @@ func (app *App) ScrapeWhic(shop Shop) []Angebot {
err := c.Visit(Shop_url)
if err != nil {
- Warn(nil, shop.Name+": "+err.Error())
+ shop.error_msg = err.Error()
+ shop.error_ctx = Shop_url
+ shop.Warn("Crawling failed")
}
return Whiskys