summaryrefslogtreecommitdiff
path: root/crawler/shop_whiskyzone.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_whiskyzone.go')
-rw-r--r--crawler/shop_whiskyzone.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawler/shop_whiskyzone.go b/crawler/shop_whiskyzone.go
index f01e93f..eae0852 100644
--- a/crawler/shop_whiskyzone.go
+++ b/crawler/shop_whiskyzone.go
@@ -47,7 +47,7 @@ func (app *App) ScrapeWhiskyzone(shop Shop) []Angebot {
if err != nil {
W.error_msg = err.Error()
W.error_ctx = e.Request.Ctx.Get("discounted_price")
- WarnOffer(W, "Whiskyzone: Convert discounted price failed")
+ PrintlnOffer(W, "Whiskyzone: Convert discounted price failed")
return
}
@@ -55,7 +55,7 @@ func (app *App) ScrapeWhiskyzone(shop Shop) []Angebot {
if err != nil {
W.error_msg = err.Error()
W.error_ctx = e.Request.Ctx.Get("original_price")
- WarnOffer(W, "Whiskyzone: Convert original price failed")
+ PrintlnOffer(W, "Whiskyzone: Convert original price failed")
return
}
@@ -64,14 +64,14 @@ func (app *App) ScrapeWhiskyzone(shop Shop) []Angebot {
if W.Volume == 0 {
W.error_msg = "Whiskyzone: Volume is zero"
W.error_ctx = ctx
- WarnOffer(W, "Whiskyzone: Volume is zero")
+ PrintlnOffer(W, "Whiskyzone: Volume is zero")
return
}
W.Abv, ctx = get_abv(e)
if W.Abv == 0 {
W.error_msg = "Whiskyzone: Abv is zero"
W.error_ctx = ctx
- WarnOffer(W, "Whiskyzone: Abv is zero")
+ PrintlnOffer(W, "Whiskyzone: Abv is zero")
return
}
@@ -83,7 +83,7 @@ func (app *App) ScrapeWhiskyzone(shop Shop) []Angebot {
if err != nil {
W.error_msg = err.Error()
W.error_ctx = base_price
- WarnOffer(W, "Whiskyzone: Extracting base price failed")
+ PrintlnOffer(W, "Whiskyzone: Extracting base price failed")
return
}
}