OR-732 improve error handling for rest calls
OR-732 improve error handling for rest calls

heroandtn3/openpaas-esn,heroandtn3/openpaas-esn,chamerling/rse-chamerling,chamerling/rse-chamerling,heroandtn3/openpaas-esn