zabbix-cli icon indicating copy to clipboard operation
zabbix-cli copied to clipboard

Login should be aborted if application fails to retrieve API version

Open pederhan opened this issue 8 months ago • 0 comments

If we can't fetch from apiinfo.version, it means the API is unavailable, and we should not proceed with the login flow. zabbix_cli.pyzabbix.client.ZabbixAPI.api_version() should also raise a more accurate exception subtype than just ZabbixAPIException when this happens.

pederhan avatar Apr 24 '25 12:04 pederhan