refactor: update logger, fix warning message

This commit is contained in:
Jonas Kaninda committed 2024-10-23 12:06:24 +02:00
1 parent 448ef4d988
commit 8e20e9595f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -202,7 +202,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