Automatic merge from submit-queue fix incorrect parameter passing Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> **What this PR does / why we need it**: 1. fix incorrect parameter passing when creating error 2. fix ineffectual assignment to err variable.