ProcedureController: remove useless logger call

This commit is contained in:
simon lehericey 2018-09-26 16:39:10 +02:00
parent 3c95273d6f
commit 8dd4a1ca4e

View file

@ -23,8 +23,7 @@ class API::V1::ProceduresController < APIController
render json: {}, status: :unauthorized
end
rescue ActiveRecord::RecordNotFound => e
Rails.logger.error(e.message)
rescue ActiveRecord::RecordNotFound
render json: {}, status: :not_found
end
end