recorver the error messages