mirror of
https://github.com/penpot/penpot.git
synced 2026-05-13 20:13:58 +00:00
✨ Add minor improvement to worker module logging
This commit is contained in:
parent
16fa0b0330
commit
edd91f00af
@ -139,7 +139,7 @@
|
||||
|
||||
:else
|
||||
(try
|
||||
(l/trc :hint "start"
|
||||
(l/dbg :hint "start"
|
||||
:name (:name task)
|
||||
:task-id (str task-id)
|
||||
:queue queue
|
||||
@ -149,7 +149,7 @@
|
||||
result (handle-task task)
|
||||
elapsed (dt/format-duration (tpoint))]
|
||||
|
||||
(l/trc :hint "end"
|
||||
(l/dbg :hint "end"
|
||||
:name (:name task)
|
||||
:task-id (str task-id)
|
||||
:queue queue
|
||||
@ -228,9 +228,9 @@
|
||||
(recur))))
|
||||
|
||||
(catch InterruptedException _
|
||||
(l/debug :hint "interrupted"
|
||||
:id id
|
||||
:queue queue))
|
||||
(l/dbg :hint "interrupted"
|
||||
:id id
|
||||
:queue queue))
|
||||
(catch Throwable cause
|
||||
(l/err :hint "unexpected exception"
|
||||
:id id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user