From c9e72329700c8e8f925c8a99a319c06a2df00d02 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 24 Apr 2005 22:04:39 +0000 Subject: [PATCH] better error messages --- stepmania/src/CryptManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/CryptManager.cpp b/stepmania/src/CryptManager.cpp index 8afaa629fa..cfe17bdf82 100644 --- a/stepmania/src/CryptManager.cpp +++ b/stepmania/src/CryptManager.cpp @@ -75,10 +75,16 @@ void CryptManager::SignFileToFile( CString sPath, CString sSignatureFile ) sSignatureFile = sPath + SIGNATURE_APPEND; if( !IsAFile(sPrivFilename) ) + { + LOG->Trace( "SignFileToFile: \"%s\" doesn't exist", sSignatureFile.c_str() ); return; + } if( !IsAFile(sMessageFilename) ) + { + LOG->Trace( "SignFileToFile: \"%s\" doesn't exist", sMessageFilename.c_str() ); return; + } try { RageFileSource privFile(sPrivFilename, true);