no sentry report when error 400 for exercices
This commit is contained in:
parent
51c0c83860
commit
b90513f456
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue