summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kinelev <victor.kinelev.1@gmail.com>2019-09-26 20:39:36 +0200
committerGitHub <noreply@github.com>2019-09-26 20:39:36 +0200
commitc34863ec4c260d45889589983712c30a2f8466e6 (patch)
treeb72a0112e22d41c329b30c70a4b1fb708337ef3e
parent587e6b604d3a030573d69f2ae987c592d9cc7de0 (diff)
Fixed the example of the error handler
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ac34f6..732277f 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ This is not a fork of [spree_taxjar](https://github.com/vinsol-spree-contrib/spr
```ruby
# Put this in config/initializers/taxjar.rb
- SuperGood::SolidusTaxJar::TaxCalculator.exception_handler = ->(e) {
+ SuperGood::SolidusTaxJar.exception_handler = ->(e) {
# Report exceptions in here. For example, if you were using the Sentry's
# raven-ruby gem to report errors, you might do this:
Raven.capture_exception(e)