diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index e3b972394..145e0fd27 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -235,7 +235,6 @@ class Epp::Contact < Contact document_type: legal_document_data[:type], body: legal_document_data[:body] ) - raise ActiveRecord::Rollback if doc && doc.id.nil? self.legal_documents = [doc] frame.css("legalDocument").first.content = doc.path if doc && doc.persisted? diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 1ee8a2d92..ca052bfeb 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -210,7 +210,6 @@ class Epp::Domain < Domain document_type: legal_document_data[:type], body: legal_document_data[:body] ) - raise ActiveRecord::Rollback if doc && doc.id.nil? self.legal_documents = [doc] frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?