Debug logging
This commit is contained in:
parent
b112155134
commit
9cb1028c16
|
@ -36,8 +36,10 @@
|
||||||
(sh command "-f" "png" "--quality" "80" "--width" "1336" "-" "-"
|
(sh command "-f" "png" "--quality" "80" "--width" "1336" "-" "-"
|
||||||
:out-enc :bytes :in html)]
|
:out-enc :bytes :in html)]
|
||||||
(if (= 0 exit)
|
(if (= 0 exit)
|
||||||
out
|
(do
|
||||||
(do (log/error "Failed to generate PNG file" err exit out)
|
(log/debug "PNG generated succesfully" out err exit html)
|
||||||
|
out)
|
||||||
|
(do (log/error "Failed to generate PNG file" err exit out html)
|
||||||
nil))))
|
nil))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue