logs error entity failure