refactor: warn when invalid cron entries might be written

This commit is contained in:
Jose Diaz-Gonzalez
2025-06-19 01:11:29 -04:00
parent 776013b0f4
commit ed851fe399
2 changed files with 3 additions and 2 deletions

View File

@@ -55,7 +55,8 @@ func generateCronEntries() ([]cron.TemplateCommand, error) {
c, err := cron.FetchCronEntries(appName)
if err != nil {
results <- []cron.TemplateCommand{}
return err
common.LogWarn(err.Error())
return nil
}
results <- c