mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve exporting data https://github.com/siyuan-note/siyuan/issues/13500
This commit is contained in:
parent
5fb2b78911
commit
b81de5d2da
4 changed files with 32 additions and 42 deletions
|
|
@ -210,7 +210,8 @@ func LoadTreeByBlockIDWithReindex(id string) (ret *parse.Tree, err error) {
|
|||
|
||||
func LoadTreeByBlockID(id string) (ret *parse.Tree, err error) {
|
||||
if !ast.IsNodeIDPattern(id) {
|
||||
logging.LogErrorf("block id is invalid [id=%s]", id)
|
||||
stack := logging.ShortStack()
|
||||
logging.LogErrorf("block id is invalid [id=%s], stack: [%s]", id, stack)
|
||||
return nil, ErrTreeNotFound
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue