mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BUG: Register an error if EnzureZoneExists fails (#2703)
This commit is contained in:
@ -211,6 +211,7 @@ func run(args PreviewArgs, push bool, interactive bool, out printer.CLI, report
|
||||
// this is the actual push, ensure domain exists at DSP
|
||||
if err := creator.EnsureZoneExists(domain.Name); err != nil {
|
||||
out.Warnf("Error creating domain: %s\n", err)
|
||||
anyErrors = true
|
||||
continue // continue with next provider, as we couldn't create this one
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user