copilot
copilot copied to clipboard
replace bare-except in get_ap_status with proper exception handling.
get_ap_status currently uses a bare-except. This should be replaced by proper exception handling.
Testing needs to be done to see what exception types are raised when the trainer object does not have an ap_name value.