Corrected the handling of the Error message when displayed.