Skip to content

Commit d3ef46c

Browse files
committed
better logging
1 parent c1f7701 commit d3ef46c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eval_protocol/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,11 @@ def raise_from_status_details(cls, status_details: List[Dict[str, Any]]) -> bool
207207
# Dynamically import and raise the exception
208208
exception_class = cls._import_exception_class(exception_type)
209209
if exception_class:
210-
logger.info(f"Re-raising {exception_type} from status details")
210+
logger.info(f"Found exception class: {exception_class}")
211211
# Try different constructor patterns
212212
exception_to_raise = cls._create_exception_instance(exception_class, exception_message)
213213
if exception_to_raise:
214+
logger.info(f"Re-raising {exception_type} from status details")
214215
raise exception_to_raise
215216
else:
216217
logger.debug(f"Could not create instance of {exception_type}")

0 commit comments

Comments
 (0)