tweak words for invalid db

This commit is contained in:
Tienson Qin
2026-01-06 08:31:46 +08:00
parent 5748905057
commit 2897410690

View File

@@ -855,9 +855,9 @@
(when-not (and (or (:undo? tx-meta) (:redo? tx-meta))
(not worker-util/dev?))
(shared-service/broadcast-to-clients! :notification
[["Invalid DB!"] :error])
[["Invalid data writing to db!"] :error])
(worker-util/post-message :capture-error
{:error (ex-info "Invalid DB" {})
{:error (ex-info "Invalid data writing to db" {})
:payload {}
:extra {:errors (str errors)}})))