mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
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:
@@ -167,7 +167,7 @@ func writeCronEntries() error {
|
||||
command.ShowOutput = false
|
||||
out, err := command.CombinedOutput()
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user