fix: don't panic() 😅

This commit is contained in:
3wc 2022-11-14 09:58:40 -08:00 committed by Gitea
parent 8fad34e430
commit a21d431541
1 changed files with 1 additions and 1 deletions

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)