Skip to content

Commit

Permalink
Print exceptions in stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
shg8 committed Feb 21, 2024
1 parent 1301ffe commit 6a5676b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a5676b

Please sign in to comment.