Skip to content
Snippets Groups Projects
Commit 5654816f authored by Adrien Béraud's avatar Adrien Béraud
Browse files

dhtrunner: re-throw exception directly in init

parent b0fb476d
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ DhtRunner::run(const Config& config, Context&& context)
dht_via_proxy_.reset();
#endif
running = State::Idle;
throw std::runtime_error(std::string("Error starting the node: ") + e.what());
throw;
}
if (context.logger and dht_via_proxy_) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment