Changed redis setup

This commit is contained in:
Alex Sherman 2021-12-12 13:41:55 +05:00 committed by olegphenomenon
parent dbe1678430
commit 1a8d8b52e7
3 changed files with 9 additions and 2 deletions

View file

@ -20,8 +20,8 @@ module Epp
rescue_from StandardError, with: :respond_with_command_failed_error
rescue_from AuthorizationError, with: :respond_with_authorization_error
rescue_from ActiveRecord::RecordNotFound, with: :respond_with_object_does_not_exist_error
rescue_from Shunter::ThrottleError, with: :respond_with_session_limit_exceeded_error
rescue_from ActiveRecord::RecordNotFound, with: :respond_with_object_does_not_exist_error
before_action :set_paper_trail_whodunnit