mirror of
https://github.com/penpot/penpot.git
synced 2025-07-21 18:28:10 +02:00
✨ Add minor improvement to worker module logging
This commit is contained in:
parent
16fa0b0330
commit
edd91f00af
1 changed files with 5 additions and 5 deletions
|
@ -139,7 +139,7 @@
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(try
|
(try
|
||||||
(l/trc :hint "start"
|
(l/dbg :hint "start"
|
||||||
:name (:name task)
|
:name (:name task)
|
||||||
:task-id (str task-id)
|
:task-id (str task-id)
|
||||||
:queue queue
|
:queue queue
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
result (handle-task task)
|
result (handle-task task)
|
||||||
elapsed (dt/format-duration (tpoint))]
|
elapsed (dt/format-duration (tpoint))]
|
||||||
|
|
||||||
(l/trc :hint "end"
|
(l/dbg :hint "end"
|
||||||
:name (:name task)
|
:name (:name task)
|
||||||
:task-id (str task-id)
|
:task-id (str task-id)
|
||||||
:queue queue
|
:queue queue
|
||||||
|
@ -228,9 +228,9 @@
|
||||||
(recur))))
|
(recur))))
|
||||||
|
|
||||||
(catch InterruptedException _
|
(catch InterruptedException _
|
||||||
(l/debug :hint "interrupted"
|
(l/dbg :hint "interrupted"
|
||||||
:id id
|
:id id
|
||||||
:queue queue))
|
:queue queue))
|
||||||
(catch Throwable cause
|
(catch Throwable cause
|
||||||
(l/err :hint "unexpected exception"
|
(l/err :hint "unexpected exception"
|
||||||
:id id
|
:id id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue