fix error logging bruh

reee
This commit is contained in:
989onan
2025-05-11 12:07:51 -04:00
parent 82a7e67d7e
commit 9a84cf52b5
19 changed files with 38 additions and 38 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class AvatarToolkit_OT_AttachMesh(Operator):
return {'FINISHED'}
except Exception as e:
logger.error(f"Failed to attach mesh: {str(e)}")
logger.error(f"Failed to attach mesh:", exception=e)
self.report({'ERROR'}, str(e))
return {'CANCELLED'}