diff options
Diffstat (limited to 'crawler/shop_rumundco.go')
| -rw-r--r-- | crawler/shop_rumundco.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawler/shop_rumundco.go b/crawler/shop_rumundco.go index 3b7d08a..c9a61a2 100644 --- a/crawler/shop_rumundco.go +++ b/crawler/shop_rumundco.go @@ -199,7 +199,9 @@ func (app *App) ScrapeRumundCo(shop Shop) []Angebot { for _, url := range Shop_urls { err := c.Visit(url) if err != nil { - Warn(nil, shop.Name+": "+err.Error()) + shop.error_msg = err.Error() + shop.error_ctx = url + shop.Warn("Crawling failed") } } |
