Reload nebula even if we can't save vpn profile

This commit is contained in:
Ian VanSchooten 2024-10-17 16:05:29 -04:00
parent 32c21456df
commit 1c9841fc19
1 changed files with 3 additions and 2 deletions

View File

@ -66,9 +66,10 @@ class DNUpdater {
newSite?.save(manager: site.manager) { error in
if (error != nil) {
self.log.error("failed to save update: \(error!.localizedDescription, privacy: .public)")
} else {
onUpdate(Site(incoming: newSite!))
}
// reload nebula even if we couldn't save the vpn profile
onUpdate(Site(incoming: newSite!))
}
if (credentials.invalid) {