Camera error detection