Can you raise an Exception here instead:
e.g.:
```python
raise Exception("No data returned when hitting: %s" % url)
```