better error messages
This commit is contained in:
@@ -75,10 +75,16 @@ void CryptManager::SignFileToFile( CString sPath, CString sSignatureFile )
|
|||||||
sSignatureFile = sPath + SIGNATURE_APPEND;
|
sSignatureFile = sPath + SIGNATURE_APPEND;
|
||||||
|
|
||||||
if( !IsAFile(sPrivFilename) )
|
if( !IsAFile(sPrivFilename) )
|
||||||
|
{
|
||||||
|
LOG->Trace( "SignFileToFile: \"%s\" doesn't exist", sSignatureFile.c_str() );
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if( !IsAFile(sMessageFilename) )
|
if( !IsAFile(sMessageFilename) )
|
||||||
|
{
|
||||||
|
LOG->Trace( "SignFileToFile: \"%s\" doesn't exist", sMessageFilename.c_str() );
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
RageFileSource privFile(sPrivFilename, true);
|
RageFileSource privFile(sPrivFilename, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user