diff options
Diffstat (limited to '')
-rw-r--r-- | main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,13 +1,15 @@ #include <iostream> #include "Game.hpp" #include "graphics/AssetManager.hpp" +#include "Debug.hpp" int main() { + LOG("Process started",INFO,Unknown); try { Game game; game.Exec(); - } catch (int e) { - std::cerr << "Catch exception " << e << std::endl; + } catch (std::exception e) { + std::cerr << "Catch exception: " << e.what() << std::endl; } return 0; }
\ No newline at end of file |