refactor: update logger, fix warning message
This commit is contained in:
1 parent
4b41baed5a
commit
23edaff2c4
3 files changed
+6
-6
No files matched your search
+1
-1
@@ -203,7 +203,7 @@ func CronNextTime(cronExpr string) time.Time {
|
||||
// Parse the cron expression
|
||||
schedule, err := cron.ParseStandard(cronExpr)
|
||||
if err != nil {
|
||||
Error("Error parsing cron expression:", err)
|
||||
Error("Error parsing cron expression: %s", err)
|
||||
return time.Time{}
|
||||
}
|
||||
// Get the current time
|
||||
|
||||
Reference in new issue
Block a user