remove api error log

pull/250/head
Pete Matsyburka 2 years ago
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

Loading…
Cancel
Save