lib/jt-rails-toolbox.rb in jt-rails-toolbox-1.3.0 vs lib/jt-rails-toolbox.rb in jt-rails-toolbox-1.3.1
- old
+ new
@@ -117,10 +117,10 @@
ExceptionNotification.configure do |config|
config.ignored_exceptions += %w{ActionController::InvalidCrossOriginRequest ActionController::InvalidAuthenticityToken}
if @params['exception']['slack']
config.add_notifier :slack, {
- webhook_url: params['exception']['slack']['webhook_url'],
+ webhook_url: @params['exception']['slack']['webhook_url'],
}
end
if @params['exception']['exception_recipients']
config.add_notifier :email, {
\ No newline at end of file