fix: don't panic() 😅

This commit is contained in:
2022-11-24 17:33:59 +00:00
committed by Gitea
parent 8fad34e430
commit a21d431541
+1 -1
View File
@@ -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)