1
Vote

Don't swallow exceptions

description

your code swallows server exceptions. If it can't handle them, it should rethrow or wrap them, or don't catch them in the first place. Otherwise it's impossible to find out the reason for non-working connections, as you can't distinguish between an error and no files exist in a directory (in the example of List()).

comments