Just log these errors where you catch them. 

The logger also supports printf/sprintf style formatting IIRC:

```python
log.info('A retriable HTTP error %d occured', e.resp.status)
```