Prior to this commit, `RestClientException` thrown by status handlers would not be registered as observation errors. This commit ensures that such exceptions are first caught, registered in the observation and rethrown as expected. Closes gh-32575
Prior to this commit, `RestClientException` thrown by status handlers would not be registered as observation errors. This commit ensures that such exceptions are first caught, registered in the observation and rethrown as expected. Closes gh-32575