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
@@ -81,7 +81,7 @@ class AvatarToolKit_OT_ExpandSectionMaterials(Operator):
return {'FINISHED'}
except Exception as e:
logger.error(f"Error loading materials: {str(e)}", exc_info=True)
logger.error(f"Error loading materials:", exception=e)
self.report({'ERROR'}, t("TextureAtlas.load_error"))
return {'CANCELLED'}