that should only capture the urllib2.HTTPError.
what makes you think it doesn't?
If it's because you still see the other errors, that's because they were not captured but rather sent to stderr which is usual.
what makes you think it doesn't?
If it's because you still see the other errors, that's because they were not captured but rather sent to stderr which is usual.