mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
0651e8d48f
commit
31121977ec
1 changed files with 1 additions and 3 deletions
|
|
@ -21,7 +21,6 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"runtime/debug"
|
||||
"slices"
|
||||
"strings"
|
||||
"sync"
|
||||
|
|
@ -155,8 +154,7 @@ func performTx(tx *Transaction) (ret *TxErr) {
|
|||
|
||||
defer func() {
|
||||
if e := recover(); nil != e {
|
||||
stack := debug.Stack()
|
||||
msg := fmt.Sprintf("PANIC RECOVERED: %v\n\t%s\n", e, stack)
|
||||
msg := fmt.Sprintf("PANIC RECOVERED: %v\n\t%s\n", e, logging.ShortStack())
|
||||
logging.LogErrorf(msg)
|
||||
|
||||
if 1 == tx.state.Load() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue