Raise an error if fetch fails so that we properly bombout