Changed this assertion based on restoring the original `except self.connection_errors` (see comment below)