diff options
Diffstat (limited to 'crawler/shop_drankdozijn.go')
| -rw-r--r-- | crawler/shop_drankdozijn.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawler/shop_drankdozijn.go b/crawler/shop_drankdozijn.go index 28f79b2..fdfc3d8 100644 --- a/crawler/shop_drankdozijn.go +++ b/crawler/shop_drankdozijn.go @@ -248,7 +248,9 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { err = c.Visit(W.Url) if err != nil { - Warn(nil, shop.Name+": Error (Visit): "+err.Error()) + shop.error_msg = err.Error() + shop.error_ctx = W.Url + shop.Warn("Crawling failed") } else { //log.Println("Visit " + W.Url) } |
