remove log
This commit is contained in:
@@ -57,7 +57,6 @@ module Api
|
||||
object_name = error.subject.model_name.human
|
||||
id = error.subject.id
|
||||
|
||||
message =
|
||||
if current_user.account.testing?
|
||||
"#{object_name} #{id} not found using testing API key; Use production API key to " \
|
||||
"access production #{object_name.downcase.pluralize}."
|
||||
@@ -65,10 +64,6 @@ module Api
|
||||
"#{object_name} #{id} not found using production API key; Use testing API key to " \
|
||||
"access testing #{object_name.downcase.pluralize}."
|
||||
end
|
||||
|
||||
Rollbar.warning(message) if defined?(Rollbar)
|
||||
|
||||
message
|
||||
end
|
||||
|
||||
def paginate(relation, field: :id)
|
||||
|
||||
Reference in New Issue
Block a user