Raise RuntimeError when gist is unavailable - #437

This commit raises RuntimeError if gist responds with a HTTP error preventing the error page from being included into generated text (#437).