From 9c3fbd8d1ed18bf907d86f1f71f3a6316cc5663a Mon Sep 17 00:00:00 2001 From: kuroweb Date: Wed, 9 Oct 2024 08:33:29 +0900 Subject: [PATCH] =?UTF-8?q?debug:=20=E3=83=87=E3=83=90=E3=83=83=E3=82=B0?= =?UTF-8?q?=E7=94=A8=E3=82=B3=E3=83=BC=E3=83=89=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/services/crawl/yahoo_auction/sync_product/crawler.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volumes/backend/app/services/crawl/yahoo_auction/sync_product/crawler.rb b/volumes/backend/app/services/crawl/yahoo_auction/sync_product/crawler.rb index fed57dcc..f7e2c97b 100644 --- a/volumes/backend/app/services/crawl/yahoo_auction/sync_product/crawler.rb +++ b/volumes/backend/app/services/crawl/yahoo_auction/sync_product/crawler.rb @@ -110,6 +110,10 @@ def price(page) tax_price = price_str.match(/((税込 \d+,*\d+ 円)|(税 0 円))/)[0].gsub(/(|)|,| |税込|円/, "").to_i tax_price.nonzero? || price + rescue StandardError => e + Bugsnag.notify(e) + Bugsnag.notify("price_str: #{price_str}") + raise e end def buyout_price(page)