diff --git a/CHANGELOG.md b/CHANGELOG.md index 0445c9e..718ba04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed +- Fixed "Wrong number of arguments" error in call to `Logger#log_error` in `Sbmt::Outbox::ErrorTracker::error` + ## [6.19.1] - 2025-02-20 ### Fixed diff --git a/lib/sbmt/outbox/error_tracker.rb b/lib/sbmt/outbox/error_tracker.rb index 896b419..83a1c2b 100644 --- a/lib/sbmt/outbox/error_tracker.rb +++ b/lib/sbmt/outbox/error_tracker.rb @@ -6,7 +6,7 @@ class ErrorTracker class << self def error(message, params = {}) unless defined?(Sentry) - Outbox.logger.log_error(message, params) + Outbox.logger.log_error(message, **params) return end