Skip to content

Commit

Permalink
chore(docs): update readme for correct use of error reporting func
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRiedler committed Feb 19, 2025
1 parent f17db98 commit 8aabab4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 6.0.2 - 2025-02-13
### Changed
- Update docs

## 6.0.1 - 2025-02-13
### Changed
- Updated dependencies
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
pheme (6.0.1)
pheme (6.0.2)
activesupport (>= 4)
aws-sdk-sns (~> 1.1)
aws-sdk-sqs (~> 1.3)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ Pheme.configure do |config|
config.logger = Logger.new(STDOUT) # Optionally replace with your app logger, e.g. `Rails.logger`

# Internal wealthsimple error handler
config.error_reporting_func = Ws::Railway::ErrorReporting.capture_exception
config.error_reporting_func = Ws::Railway::ErrorReporting.method(:capture_exception)
# Sentry
config.error_reporting_func = Sentry.capture_exception
config.error_reporting_func = Sentry.method(:capture_exception)
# Rollbar
config.error_reporting_func = Rollbar.error
config.error_reporting_func = Rollbar.method(:error)
end
```

Expand Down
2 changes: 1 addition & 1 deletion lib/pheme/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Pheme
VERSION = '6.0.1'.freeze
VERSION = '6.0.2'.freeze
end

0 comments on commit 8aabab4

Please sign in to comment.