Explorar o código

[cron] log fix

Innocenty Enikeev %!s(int64=8) %!d(string=hai) anos
pai
achega
f9435a710c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      chat-cron.lisp

+ 1 - 1
chat-cron.lisp

@@ -37,7 +37,7 @@
        when (and next-time (<= (same-time-in-chat next-time chat-id) now))
        do (unwind-protect
                (progn
-                 (log:info :chat-cron type chat-id schedule now next-time last-run)
+                 (log:info :chat-cron type chat-id schedule-text now next-time last-run)
                  (apply #'run-hooks :chat-cron (keyify type) chat-id schedule (read-from-string args)))
             (db-execute "update chat_crons set last_run = ? where type = ? and chat_id = ? and schedule = ? and args = ?" next-time type chat-id schedule-text args)))))