Basic error handling in replication server