why was this catching everything? Non-RageExceptions should be

caught and handled by the individual drivers.
This commit is contained in:
Glenn Maynard
2004-09-05 01:19:47 +00:00
parent 85c4c2a364
commit f3cc65a51d
+6 -3
View File
@@ -46,12 +46,15 @@ void Dialog::Init()
#endif
if( !DriversToTry[i].CompareNoCase("Null") ) g_pImpl = new DialogDriverNull;
}
catch(...)//const RageException &e)
catch( const RageException &e )
{
// if( LOG )
// LOG->Info("Couldn't load driver %s: %s", DriversToTry[i].c_str(), e.what());
if( LOG )
LOG->Info("Couldn't load driver %s: %s", DriversToTry[i].c_str(), e.what());
}
}
/* DialogDriverNull should have worked, at least. */
ASSERT( g_pImpl != NULL );
}
void Dialog::Shutdown()