Skip to content

Commit b41fbb9

Browse files
committed
Error logging params fix
Fixed Logger#log_error call to conform to Ruby v3 syntax
1 parent 07f1dae commit b41fbb9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313

1414
### Fixed
1515

16+
- Fixed "Wrong number of arguments" error in call to `Logger#log_error` in `Sbmt::Outbox::ErrorTracker::error`
17+
1618
## [6.19.1] - 2025-02-20
1719

1820
### Fixed

lib/sbmt/outbox/error_tracker.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ErrorTracker
66
class << self
77
def error(message, params = {})
88
unless defined?(Sentry)
9-
Outbox.logger.log_error(message, params)
9+
Outbox.logger.log_error(message, **params)
1010
return
1111
end
1212

0 commit comments

Comments
 (0)