diff options
author | Victor Kinelev <victor.kinelev.1@gmail.com> | 2019-09-26 20:39:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 20:39:36 +0200 |
commit | c34863ec4c260d45889589983712c30a2f8466e6 (patch) | |
tree | b72a0112e22d41c329b30c70a4b1fb708337ef3e | |
parent | 587e6b604d3a030573d69f2ae987c592d9cc7de0 (diff) |
Fixed the example of the error handler
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |