The `collect()` function already catches all these exceptions, so this `except` block seems to be dead code.