diff --git a/src/main.cc b/src/main.cc index 54841c06..b4169139 100644 --- a/src/main.cc +++ b/src/main.cc @@ -312,12 +312,10 @@ int main() } deinit_ncurses(); } - catch (std::runtime_error& error) + catch (...) { deinit_ncurses(); - puts("unhandled exception : "); - puts(error.what()); - return -1; + throw; } return 0; }