Update ShowErrorInfo method

remove some console warns