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
|
||||
end
|
||||
|
||||
rescue ActiveRecord::RecordNotFound => e
|
||||
Rails.logger.error(e.message)
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
render json: {}, status: :not_found
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue