From a0be7333fb5b9ea404f900e3867daf4d1ae5daa4 Mon Sep 17 00:00:00 2001 From: BaiJiangJie Date: Fri, 1 Nov 2019 19:41:28 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E5=A4=8D=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=20Default=20=E8=8A=82=E7=82=B9=E7=9A=84=20Bug?= =?UTF-8?q?=EF=BC=88=E5=8E=9F=E5=9B=A0=EF=BC=9A=E5=9C=A8=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E7=BB=84=E7=BB=87=E4=B8=8B=20Default=20=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=9A=84=20key=201=20=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=EF=BC=892?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/models/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/models/node.py b/apps/assets/models/node.py index d8668f5f5..0417464b7 100644 --- a/apps/assets/models/node.py +++ b/apps/assets/models/node.py @@ -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()