From 21e59e065ea70ee8370bcf6b3103336db871bb00 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 16 Feb 2005 23:00:09 +0000 Subject: [PATCH] peek at the error message in the debugger --- stepmania/src/ThemeManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index c95f4cc12a..60401a42fe 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -655,12 +655,13 @@ try_metric_again: CString sCurMetricPath = GetMetricsIniPath(m_sCurThemeName); CString sDefaultMetricPath = GetMetricsIniPath(BASE_THEME_NAME); - RageException::Throw( "Theme metric '%s : %s' could not be found in '%s' or '%s'.", + CString sError = ssprintf( "Theme metric '%s : %s' could not be found in '%s' or '%s'.", sClassName.c_str(), sValueName.c_str(), sCurMetricPath.c_str(), sDefaultMetricPath.c_str() ); + RageException::Throw( sError ); } /* Get a string metric. */