Fixed issue with error message parsing.