mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
remove api error log
This commit is contained in:
1 parent
66eb83e6a7
commit
943c76505d
1 file changed
-2
@@ -27,8 +27,6 @@ module Api
|
||||
|
||||
if Rails.env.production?
|
||||
rescue_from CanCan::AccessDenied do |e|
|
||||
Rollbar.warning(e) if defined?(Rollbar)
|
||||
|
||||
render json: { error: e.message }, status: :forbidden
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user