summaryrefslogtreecommitdiff
path: root/crawler/shop_whiskyde.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_whiskyde.go')
-rw-r--r--crawler/shop_whiskyde.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawler/shop_whiskyde.go b/crawler/shop_whiskyde.go
index d06f522..1088d40 100644
--- a/crawler/shop_whiskyde.go
+++ b/crawler/shop_whiskyde.go
@@ -120,7 +120,9 @@ func (app *App) ScrapeWhiskyde(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