added unhandled exception code

This commit is contained in:
Dave White 2004-04-24 17:20:10 +00:00
parent 04bd3eac56
commit d72f28386a

View file

@ -838,6 +838,8 @@ int main(int argc, char** argv)
std::cerr << "Could not create button: Image could not be found\n";
} catch(CVideo::quit&) {
//just means the game should quit
} catch(...) {
std::cerr << "Unhandled exception. Exiting\n";
}
return 0;