better logging for RequestException