Commit 598af387 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Do not announce DHT groups if first store scan fails.

parent 59c15930
......@@ -617,6 +617,7 @@ struct Client::Impl {
http_store->for_each([&] (auto rr, auto yield) {
return keep_cache_entry(std::move(rr), yield);
}, y[e]);
if (e) return or_throw(y, e);
for (auto dht_group : _dht_groups->groups()) {
announcer.add(dht_group);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment