Add some log output for replication errors