diff --git a/stepmania/src/IniFile.cpp b/stepmania/src/IniFile.cpp index 504851131c..3eb51e8c67 100644 --- a/stepmania/src/IniFile.cpp +++ b/stepmania/src/IniFile.cpp @@ -44,7 +44,7 @@ bool IniFile::ReadFile() if (f == NULL) { - LOG->Trace("INI: FAILED: %s", strerror(errno)); + LOG->Trace("Reading '%s' failed: %s", path.c_str(), strerror(errno)); error = ssprintf("Unable to open ini file: %s", strerror(errno)); return 0; } diff --git a/stepmania/src/NoteSkinManager.cpp b/stepmania/src/NoteSkinManager.cpp index 43b9ab500f..19a2c1ba65 100644 --- a/stepmania/src/NoteSkinManager.cpp +++ b/stepmania/src/NoteSkinManager.cpp @@ -124,8 +124,8 @@ CString NoteSkinManager::GetMetric( PlayerNumber pn, CString sButtonName, CStrin if( data.metrics.GetValue( sButtonName, sValue, sReturn ) ) return sReturn; if( !data.metrics.GetValue( "NoteDisplay", sValue, sReturn ) ) - RageException::Throw( "Could not read metric '%s - %s' or 'NoteDisplay - %s'", - sButtonName.c_str(), sValue.c_str(), sValue.c_str() ); + RageException::Throw( "Could not read metric '%s - %s' or 'NoteDisplay - %s' in '%s'", + sButtonName.c_str(), sValue.c_str(), sValue.c_str(), sNoteSkinName.c_str() ); return sReturn; }