Gracefully handle GatewayError in get_capabilities.