diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -60,6 +60,10 @@ func main() { // parsing the libvirt xml file failed log.Info("error:", filename, err) ok = false + log.Info("readXml() error", filename) + log.Info("readXml() error", err) + log.Info("libvirt XML will have to be fixed by hand") + os.Exit(-1) continue } // see if the libvirt xml droplet is already here @@ -68,6 +72,10 @@ func main() { // some error. probably UUID mismatch or hostname duplication // this has to be fixed by hand ok = false + log.Info("findDomain() error", filename) + log.Info("findDomain() error", err) + log.Info("libvirt XML will have to be fixed by hand") + os.Exit(-1) continue } if d == nil { @@ -78,6 +86,8 @@ func main() { ok = false log.Info("addDomainDroplet() error", filename) log.Info("addDomainDroplet() error", err) + log.Info("libvirt XML will have to be fixed by hand") + os.Exit(-1) } } else { // this droplet is already here |
