diff --git a/main.cpp b/main.cpp index 7a927ff..d02609c 100644 --- a/main.cpp +++ b/main.cpp @@ -74,8 +74,8 @@ int main(int argc, char** argv) { renderer.run(); #ifndef DEBUG } catch (const std::exception& e) { - std::cerr << e.what() << std::endl; - return 1; + std::cout << e.what() << std::endl; + return 0; } #endif return 0;