forked from coop-cloud/abra
fix: don't panic() 😅
This commit is contained in:
parent
8fad34e430
commit
a21d431541
|
@ -329,7 +329,7 @@ func TemplateAppEnvSample(recipeName, appName, server, domain string) error {
|
|||
|
||||
err = ioutil.WriteFile(appEnvPath, []byte(newContents), 0)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return err
|
||||
}
|
||||
|
||||
logrus.Debugf("copied & templated %s to %s", envSamplePath, appEnvPath)
|
||||
|
|
Loading…
Reference in New Issue