SVY-6188 improve error handling/reporting in ngclient