mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 16:31:41 +00:00
fix: no fallar si hay errores remotos
closes #10467 closes #10506 closes #10509
This commit is contained in:
parent
812fc0315c
commit
debf45b726
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue