Fix bug 1055653: handle exceptions from RestClient
Merge pull request #4571 from pmorie/bugs/1055653

Merged by openshift-bot