remove api error log

This commit is contained in:
Pete Matsyburka
2024-03-18 23:18:35 +02:00
parent 66eb83e6a7
commit 943c76505d
@@ -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