add additional exception details for restclient