Browse Source

Add more verbose error

pull/32/head
Greyson Dehn 8 years ago
parent
commit
aeb69861ba
  1. 4
      plugin.go

4
plugin.go

@ -131,7 +131,9 @@ func submoduleOverride(submodules map[string]map[string]string) string {
fileName := hex.EncodeToString(randBytes) + "_override.tf"
if err := ioutil.WriteFile(fileName, fileContents, 0644); err != nil {
panic(err)
logrus.WithFields(logrus.Fields{
"error": err,
}).Fatal("Error writing overrides file!")
}
return fileName

Loading…
Cancel
Save