no sentry report when error 400 for exercices

This commit is contained in:
Christophe Robillard 2020-06-11 18:16:19 +02:00
parent 51c0c83860
commit b90513f456
2 changed files with 3 additions and 4 deletions

View file

@ -13,10 +13,6 @@ class ApplicationJob < ActiveJob::Base
error(self, exception)
end
rescue_from(ApiEntreprise::API::BadFormatRequest) do |exception|
error(self, exception)
end
def error(job, exception)
Raven.capture_exception(exception)
end