summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 74007c3..585426b 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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