diff options
Diffstat (limited to 'crawler/shop_mcwhisky.go')
| -rw-r--r-- | crawler/shop_mcwhisky.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawler/shop_mcwhisky.go b/crawler/shop_mcwhisky.go index 027aeee..89c2a7b 100644 --- a/crawler/shop_mcwhisky.go +++ b/crawler/shop_mcwhisky.go @@ -132,7 +132,9 @@ func (app *App) ScrapeMCWhisky(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 |
