handle_errors list_ports port_info port_config