Solution for "Download Failure" exception with Scottgu's DiggSample

WebClient will return a Download failure exception if you search the Digg API using an invalid search term.

If you search with a valid term, say “microsoft”, then you will have no issues. Search with “asdf” and you’ll get the Download failure exception.

Hope this helps,