mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Fix monitor logging with no argument is given to the format string.
This commit is contained in:
parent
cd1d5ad597
commit
36bfd923fa
@ -96,7 +96,9 @@
|
||||
params
|
||||
;; cl-log:log-message is a macro, we can't use apply
|
||||
;; here, so we need to break a level of abstraction
|
||||
(let ((mesg (format nil "~{~}" description arguments)))
|
||||
(let ((mesg (if arguments
|
||||
(format nil "~{~}" description arguments)
|
||||
description)))
|
||||
(cl-log:log-message category mesg)))))
|
||||
|
||||
until (eq event :stop)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user