Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e6f11c5f1a
1 changed files with 2 additions and 2 deletions
|
@ -74,13 +74,13 @@ func LoadTree(boxID, p string, luteEngine *lute.Lute) (ret *parse.Tree, err erro
|
|||
parentPath = filepath.Join(util.DataDir, boxID, parentPath)
|
||||
parentData, readErr := filelock.LockFileRead(parentPath)
|
||||
if nil != readErr {
|
||||
logging.LogWarnf("read tree data [%s] failed: %s", parentPath, readErr)
|
||||
logging.LogWarnf("read parent tree data [%s] failed: %s", parentPath, readErr)
|
||||
hPathBuilder.WriteString("Untitled/")
|
||||
continue
|
||||
}
|
||||
parentTree, parseErr := protyle.ParseJSONWithoutFix(luteEngine, parentData)
|
||||
if nil != parseErr {
|
||||
logging.LogWarnf("parse tree [%s] failed: %s", parentPath, parseErr)
|
||||
logging.LogWarnf("parse parent tree [%s] failed: %s", parentPath, parseErr)
|
||||
hPathBuilder.WriteString("Untitled/")
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue