aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests/srv.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-15 13:37:18 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-15 13:37:18 +0200
commit5ccd3d32b41c5ae2f1fcd9d3a2526a233c8f70f0 (patch)
treec4901428d67d7895662cfbbc370d56673d62eadd /tests/net_load_tests/srv.cpp
parentMerge pull request #4481 (diff)
parentepee: initialize a few data members where it seems to be appropriate (diff)
downloadmonero-5ccd3d32b41c5ae2f1fcd9d3a2526a233c8f70f0.tar.xz
Merge pull request #4489
00901e9c epee: initialize a few data members where it seems to be appropriate (moneromooo-monero) 144a6c32 abstract_tcp_server2: move m_period to subclass (moneromooo-monero) 758d7684 connection_basic: remove unused floating time start time (moneromooo-monero) e5108a29 Catch more exceptions in dtors (moneromooo-monero)
Diffstat (limited to 'tests/net_load_tests/srv.cpp')
-rw-r--r--tests/net_load_tests/srv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/net_load_tests/srv.cpp b/tests/net_load_tests/srv.cpp
index 54110fc1e..092c6955c 100644
--- a/tests/net_load_tests/srv.cpp
+++ b/tests/net_load_tests/srv.cpp
@@ -216,6 +216,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);
@@ -234,4 +235,5 @@ int main(int argc, char** argv)
if (!tcp_server.run_server(thread_count, true))
return 2;
return 0;
+ CATCH_ENTRY_L0("main", 1);
}