use nonfatal exceptions in drivers

This commit is contained in:
Glenn Maynard
2002-12-21 08:15:35 +00:00
parent 4d1caeb4ce
commit 678a07e035
5 changed files with 14 additions and 17 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ RageSoundDriver *MakeRageSoundDriver(CString drivers)
LOG->Warn("Unknown sound driver name: %s", DriversToTry[i].GetString());
}
catch(const char *e) {
LOG->Trace("Couldn't load driver %s: %s", DriversToTry[i].GetString(), e);
catch(const RageException &e) {
LOG->Trace("Couldn't load driver %s: %s", DriversToTry[i].GetString(), e.what());
}
}