mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
enhance: sent graphs-txid in sentry events
This commit is contained in:
@@ -29,7 +29,8 @@ and handles unexpected failure."
|
||||
:date-formatter (state/get-date-formatter)})
|
||||
(catch :default e
|
||||
(log/error :exception e)
|
||||
(Sentry/captureException e)
|
||||
(state/pub-event! [:capture-error {:error e
|
||||
:payload {:type "Extract-blocks"}}])
|
||||
(notification/show! "An unexpected error occurred during block extraction." :error)
|
||||
[])))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user