sstjean / bitly-dot-net

Automatically exported from code.google.com/p/bitly-dot-net
0 stars 0 forks source link

Server error response not handled #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter an url containing an invalid resquest (e.g. localhost)
2. Call the Shorten method

What is the expected output? What do you see instead?
A response code indicating the error on the server, instead I'm getting an 
unhandled exception

What version of the product are you using? On what operating system?
Latest, Windows 7

Please provide any additional information below.
Just handle the error code 500 on the StatusCode enumerator

Original issue reported on code.google.com by ramiro.e...@gmail.com on 29 Oct 2012 at 4:48