From e62817b8252974b8a98393275874ee303840bf13 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 12 May 2017 18:49:50 +0500 Subject: 2017-05-12 --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 74007c3..585426b 100644 --- a/main.cpp +++ b/main.cpp @@ -1,13 +1,15 @@ #include #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 -- cgit v1.2.3