Skip to content
Snippets Groups Projects
Commit eab0046d authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Explain why we call update_status unconditionally.

parent 6aebb18e
No related branches found
No related tags found
No related merge requests found
......@@ -331,6 +331,9 @@ async fn load_once<R: Runtime>(
state.add_from_cache(documents)
};
// We have to update the status here regardless of the outcome: even if
// there was an error, we might have received partial information that
// changed our status.
dirmgr.update_status(state.bootstrap_status());
outcome
......
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