5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 05:56:22 +00:00

fix: no fallar si hay errores remotos

closes #10467

closes #10506

closes #10509
This commit is contained in:
f 2023-03-17 17:33:52 -03:00
parent a3c1d7193f
commit f2e79a733d

View file

@ -118,7 +118,9 @@ class DeployDistributedPress < Deploy
self.remote_info['njalla']['a'] = njalla.add_record(name: site.name, type: 'CNAME', content: "#{Site.domain}.").to_h
self.remote_info['njalla']['ns'] = njalla.add_record(name: "_dnslink.#{site.name}", type: 'NS', content: "#{publisher.hostname}.").to_h
end
rescue DistributedPress::V1::Error, HTTParty::Error => e
ExceptionNotifier.notify_exception(e, data: { site: site.name })
ensure
nil
end