fix more error logging errors
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
import math
|
||||
from typing import Dict, List, Set, Tuple, Optional, Any, Union
|
||||
@@ -104,7 +105,7 @@ class AvatarToolkit_OT_StandardizeArmature(Operator):
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Failed to standardize armature:", exception=e)
|
||||
self.report({'ERROR'}, str(e))
|
||||
self.report({'ERROR'}, traceback.format_exc())
|
||||
|
||||
try:
|
||||
if original_mode == 'EDIT_ARMATURE':
|
||||
|
||||
Reference in New Issue
Block a user