Add minor improvements for fdata logging

This commit is contained in:
Andrey Antukh 2024-03-22 12:58:50 +01:00
parent bd9874cf28
commit 7e803eeca8
3 changed files with 6 additions and 4 deletions

View file

@ -62,6 +62,12 @@
{:id id :file-id file-id}
{::sql/columns [:content]
::db/check-deleted false})]
(l/trc :hint "load pointer"
:file-id (str file-id)
:id (str id)
:found (some? content))
(when-not content
(ex/raise :type :internal
:code :fragment-not-found