Remove unused rescue in SIRET form controller
This commit is contained in:
parent
2fc03e9079
commit
6b7d0ccb82
1 changed files with 0 additions and 3 deletions
|
@ -124,9 +124,6 @@ class Users::DossiersController < UsersController
|
|||
else
|
||||
render '/dossiers/new_siret', formats: 'js'
|
||||
end
|
||||
rescue RestClient::ResourceNotFound, RestClient::BadRequest
|
||||
errors_valid_siret
|
||||
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
flash.alert = t('errors.messages.dossier_not_found')
|
||||
redirect_to url_for users_dossiers_path
|
||||
|
|
Loading…
Reference in a new issue