mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
✨ Add minor improvements for fdata logging
This commit is contained in:
parent
bd9874cf28
commit
7e803eeca8
3 changed files with 6 additions and 4 deletions
|
@ -62,6 +62,12 @@
|
||||||
{:id id :file-id file-id}
|
{:id id :file-id file-id}
|
||||||
{::sql/columns [:content]
|
{::sql/columns [:content]
|
||||||
::db/check-deleted false})]
|
::db/check-deleted false})]
|
||||||
|
|
||||||
|
(l/trc :hint "load pointer"
|
||||||
|
:file-id (str file-id)
|
||||||
|
:id (str id)
|
||||||
|
:found (some? content))
|
||||||
|
|
||||||
(when-not content
|
(when-not content
|
||||||
(ex/raise :type :internal
|
(ex/raise :type :internal
|
||||||
:code :fragment-not-found
|
:code :fragment-not-found
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
|
|
||||||
(:require
|
(:require
|
||||||
[app.common.fressian :as fres]
|
[app.common.fressian :as fres]
|
||||||
[app.common.logging :as l]
|
|
||||||
[app.common.transit :as t]
|
[app.common.transit :as t]
|
||||||
[app.common.uuid :as uuid]
|
[app.common.uuid :as uuid]
|
||||||
[app.util.time :as dt]
|
[app.util.time :as dt]
|
||||||
|
@ -78,8 +77,6 @@
|
||||||
|
|
||||||
IPointerMap
|
IPointerMap
|
||||||
(load! [_]
|
(load! [_]
|
||||||
(l/trace :hint "pointer-map:load" :id (str id))
|
|
||||||
|
|
||||||
(when-not *load-fn*
|
(when-not *load-fn*
|
||||||
(throw (UnsupportedOperationException. "load is not supported when *load-fn* is not bind")))
|
(throw (UnsupportedOperationException. "load is not supported when *load-fn* is not bind")))
|
||||||
|
|
||||||
|
|
|
@ -683,7 +683,6 @@
|
||||||
deleted (when dedupe
|
deleted (when dedupe
|
||||||
(-> (db/exec-one! conn [sql:remove-not-started-tasks task queue label])
|
(-> (db/exec-one! conn [sql:remove-not-started-tasks task queue label])
|
||||||
:next.jdbc/update-count))]
|
:next.jdbc/update-count))]
|
||||||
|
|
||||||
(l/trc :hint "submit task"
|
(l/trc :hint "submit task"
|
||||||
:name task
|
:name task
|
||||||
:queue queue
|
:queue queue
|
||||||
|
|
Loading…
Add table
Reference in a new issue