diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-02 08:39:47 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-02 17:28:44 +0000 |
commit | e5108a294a7d4fd923665e059a6eb90b0ab5a337 (patch) | |
tree | 4069f097660a988018796bcfb90003aca7577887 /tests/net_load_tests/srv.cpp | |
parent | Merge pull request #4333 (diff) | |
download | monero-e5108a294a7d4fd923665e059a6eb90b0ab5a337.tar.xz |
Catch more exceptions in dtors
Misc coverity reports
Diffstat (limited to '')
-rw-r--r-- | tests/net_load_tests/srv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/net_load_tests/srv.cpp b/tests/net_load_tests/srv.cpp index 6518d9117..dc3772127 100644 --- a/tests/net_load_tests/srv.cpp +++ b/tests/net_load_tests/srv.cpp @@ -215,6 +215,7 @@ namespace int main(int argc, char** argv) { + TRY_ENTRY(); tools::on_startup(); //set up logging options mlog_configure(mlog_get_default_log_path("net_load_tests_srv.log"), true); @@ -233,4 +234,5 @@ int main(int argc, char** argv) if (!tcp_server.run_server(thread_count, true)) return 2; return 0; + CATCH_ENTRY_L0("main", 1); } |