Loggin Fix
This commit is contained in:
@@ -122,8 +122,9 @@ class AvatarToolkit_OT_MergeArmature(bpy.types.Operator):
|
|||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error merging armatures: {str(e)}\n{traceback.format_exc()}")
|
errormessage: str = traceback.format_exc()
|
||||||
self.report({'ERROR'}, f"Error merging armatures: {str(e)}")
|
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 to restore original mode even on error
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user