diff --git a/app/components/goals/funding_accounts_breakdown_component.rb b/app/components/goals/funding_accounts_breakdown_component.rb index d977ab578..294ff0825 100644 --- a/app/components/goals/funding_accounts_breakdown_component.rb +++ b/app/components/goals/funding_accounts_breakdown_component.rb @@ -105,7 +105,8 @@ class Goals::FundingAccountsBreakdownComponent < ApplicationComponent result end rescue StandardError => e - Rails.logger.warn("Sparkline map for goal #{goal.id} failed: #{e.message}") + Rails.logger.error("Sparkline map for goal #{goal.id} failed: #{e.class}: #{e.message}") + Sentry.capture_exception(e) if defined?(Sentry) {} end end diff --git a/app/javascript/controllers/goal_stepper_controller.js b/app/javascript/controllers/goal_stepper_controller.js index d92b20faa..dc07e7734 100644 --- a/app/javascript/controllers/goal_stepper_controller.js +++ b/app/javascript/controllers/goal_stepper_controller.js @@ -3,8 +3,8 @@ import { Controller } from "@hotwired/stimulus"; // 2-step modal stepper for creating a goal. // // Single