You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API automation should get a message and not exception, in order to parse and continue the flow.
With no zsapi.ini, we get an exception instead of something like: ini files does not exist, or no targets found.
Error
$ zs-client.sh listTargets
Name | URL
--------------------------------
local => http://127.0.0.1:10081
$ rm /home/zvika/.zsapi.ini
$ zs-client.sh listTargets
======================================================================
The application has thrown an exception!
======================================================================
Zend\Config\Exception\RuntimeException
File '/home/zvika/.zsapi.ini' doesn't exist or not readable
Manual fix
Do touch .zsapi.ini, command returns output with no records.
$ touch /home/zvika/.zsapi.ini
$ zs-client.sh listTargets
Name | URL
--------------------------------
API automation should get a message and not exception, in order to parse and continue the flow.
With no zsapi.ini, we get an exception instead of something like: ini files does not exist, or no targets found.
Error
Manual fix
Do touch .zsapi.ini, command returns output with no records.
Sort of an extension to issue #76
Thanks!
The text was updated successfully, but these errors were encountered: