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