Improved logging of w3c errors.