mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
reduce error log
This commit is contained in:
1 parent
4449475467
commit
f8a654a5b6
6 files changed
+8
-8
No files matched your search
@@ -24,7 +24,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
if Rails.env.production?
|
||||
rescue_from CanCan::AccessDenied do |e|
|
||||
Rollbar.error(e) if defined?(Rollbar)
|
||||
Rollbar.warning(e) if defined?(Rollbar)
|
||||
|
||||
redirect_to root_path, alert: e.message
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user