From e626bdc5c53ba58cc50ba12a1bd9ea32b090abbf Mon Sep 17 00:00:00 2001 From: Yusarina Date: Sat, 23 Aug 2025 22:36:59 +0100 Subject: [PATCH] Loggin Fix --- functions/custom_tools/armature_merging.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/custom_tools/armature_merging.py b/functions/custom_tools/armature_merging.py index 4d0b5ab..072853d 100644 --- a/functions/custom_tools/armature_merging.py +++ b/functions/custom_tools/armature_merging.py @@ -122,8 +122,9 @@ class AvatarToolkit_OT_MergeArmature(bpy.types.Operator): return {'FINISHED'} except Exception as e: - logger.error(f"Error merging armatures: {str(e)}\n{traceback.format_exc()}") - self.report({'ERROR'}, f"Error merging armatures: {str(e)}") + errormessage: str = traceback.format_exc() + logger.error(f"Error merging armatures: {str(e)}\n{errormessage}") + self.report({'ERROR'}, f"Error merging armatures: {errormessage}") # Try to restore original mode even on error try: