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
@@ -222,7 +222,7 @@ class ATOOLKIT_OT_create_visemes(Operator):
self.report({'INFO'}, t("Visemes.success"))
return {'FINISHED'}
except Exception as e:
logger.error(f"Error creating visemes: {str(e)}")
logger.error(f"Error creating visemes:", exception=e)
self.report({'ERROR'}, str(e))
return {'CANCELLED'}