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
Currently it seems, that if an error appears on a query, the vclient will still return a $? = 0.
In my eyes it should not zero the lasterror and should deliver an error value.
In my case:
As vclient does not return an error I worked on an interim. The first part (the catch function) I found on the internet, it splits the output into error and stdout stream.
This makes it possible to check the stderr for a problem in the query.
If that happens I rerun the query, which normally does yield to getting all values.
But anyhow, vclient should in my eyes set the exitcode.
Currently it seems, that if an error appears on a query, the vclient will still return a $? = 0.
In my eyes it should not zero the lasterror and should deliver an error value.
In my case:
Does just deliver empty values on queries it does not work on, as this error appears from time to time:
I would like to redo the query, if an error appears.
the code for this looks like this (and does not work as vclient does not return an error value):
The text was updated successfully, but these errors were encountered: