Don't silently dismiss challenge errors, even though we expect many of them it's useful to see some of them

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-12-22 19:02:32 +00:00
parent 2d061606de
commit d087c66647

View File

@ -141,6 +141,9 @@ void ChallengeData::error(const char *id) const
std::ostringstream msg;
msg << "Undefined or incorrect value for '" << id
<< "' in challenge file '" << m_filename << "'.";
std::cerr << "ChallengeData : " << msg.str() << std::endl;
// FIXME: disable this till all tracks are converted
// FIXME throw std::runtime_error(msg.str());
} // error