ProcedureController: remove useless logger call
This commit is contained in:
parent
3c95273d6f
commit
8dd4a1ca4e
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +23,7 @@ class API::V1::ProceduresController < APIController
|
||||||
render json: {}, status: :unauthorized
|
render json: {}, status: :unauthorized
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue ActiveRecord::RecordNotFound => e
|
rescue ActiveRecord::RecordNotFound
|
||||||
Rails.logger.error(e.message)
|
|
||||||
render json: {}, status: :not_found
|
render json: {}, status: :not_found
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue