From d087c666479970462648d24a3abfbfd3be5f932d Mon Sep 17 00:00:00 2001 From: auria Date: Tue, 22 Dec 2009 19:02:32 +0000 Subject: [PATCH] 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 --- src/challenges/challenge_data.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/challenges/challenge_data.cpp b/src/challenges/challenge_data.cpp index 6eb7ee159..dcf9c21b7 100644 --- a/src/challenges/challenge_data.cpp +++ b/src/challenges/challenge_data.cpp @@ -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