Commit a0be7333 authored by BaiJiangJie's avatar BaiJiangJie

[Update] 修复初始化 Default 节点的 Bug(原因:在其他组织下 Default 节点默认的 key 1 已经存在)2

parent fde87029
......@@ -410,7 +410,7 @@ class SomeNodesMixin:
try:
cls.default_node()
except IntegrityError as e:
logger.error("Create default node failed")
logger.error("Create default node failed: {}".format(e))
cls.modify_other_org_root_node_key()
cls.default_node()
cls.empty_node()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment