Be more flexible in error parsing.