mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 19:41:04 +00:00
Add a little more context to configuration errors.
This commit is contained in:
parent
e5b2ced9d1
commit
380a05bbdf
1 changed files with 2 additions and 2 deletions
|
@ -594,7 +594,7 @@ bool CSynapseServer::DoResolve( CSynapseClient *pClient ){
|
||||||
// the stack didn't change last loop
|
// the stack didn't change last loop
|
||||||
iCurrent++;
|
iCurrent++;
|
||||||
if ( iCurrent == mStack.end() ) {
|
if ( iCurrent == mStack.end() ) {
|
||||||
Syn_Printf( "ERROR: CSynapseServer::Resolve, failed to resolve\n" );
|
Syn_Printf( "ERROR: CSynapseServer::Resolve, failed to resolve config for %s\n", pClient->GetName() );
|
||||||
DumpStack();
|
DumpStack();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -658,7 +658,7 @@ void CSynapseServer::DumpStack(){
|
||||||
for ( iCurrent = mStack.begin(); iCurrent != mStack.end(); iCurrent++ )
|
for ( iCurrent = mStack.begin(); iCurrent != mStack.end(); iCurrent++ )
|
||||||
{
|
{
|
||||||
APIDescriptor_t*pAPI = *iCurrent;
|
APIDescriptor_t*pAPI = *iCurrent;
|
||||||
Syn_Printf( "interface %s %p '%s' '%s'\n", APITypeName[pAPI->mType], pAPI, pAPI->major_name, pAPI->minor_name );
|
Syn_Printf( " interface %s %p '%s' '%s'\n", APITypeName[pAPI->mType], pAPI, pAPI->major_name, pAPI->minor_name );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue