diff options
Diffstat (limited to '')
-rw-r--r-- | main.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,12 @@ +#include <iostream> #include "Game.hpp" int main() { - Game game; - game.MainLoop(); + try { + Game game; + game.Exec(); + } catch (int e) { + std::cerr << "Catch exception " << e << std::endl; + } return 0; }
\ No newline at end of file |