some logging for the restclient error