in correct log , should log error only when set failed.