diff --git a/backend/src/app/db.clj b/backend/src/app/db.clj index 09309f4a07..d50ddb8a2b 100644 --- a/backend/src/app/db.clj +++ b/backend/src/app/db.clj @@ -215,7 +215,8 @@ (assoc :suffix "for update")) res (exec-one! ds (jdbc-bld/for-query table params opts) opts)] (when (or (:deleted-at res) (not res)) - (ex/raise :type :not-found)) + (ex/raise :type :not-found + :hint "database object not found")) res))) (defn get-by-id