// it can be observed, since if this happens during or after
// recovery on a failover, there will be no connection attempt
// failing with the error. New connection attempts will just
// hang...
ReplicationLogger rl = new ReplicationLogger(dbname);
rl.logError(MessageId.REPLICATION_FATAL_ERROR, e);
if (e instanceof StandardException) {
handleShutdown((StandardException)e);
}
}