catch exception when replication attribute isn't set