Merge pull request #4970 from dokku/4969-log-err

Log the string error and not bytes when there is an issue updating the cron schedule
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2022-01-15 06:42:18 -05:00
commit a5441ff03e
1 file changed
+1 -1
+1 -1
View File
@@ -167,7 +167,7 @@ func writeCronEntries() error {
command.ShowOutput = false command.ShowOutput = false
out, err := command.CombinedOutput() out, err := command.CombinedOutput()
if err != nil { if err != nil {
return fmt.Errorf("Unable to update schedule file: %v", out) return fmt.Errorf("Unable to update schedule file: %s", string(out))
} }
common.LogInfo1("Updated schedule file") common.LogInfo1("Updated schedule file")