Check error string before show message.