added unhandled exception code
This commit is contained in:
parent
04bd3eac56
commit
d72f28386a
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue