mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Merge remote-tracking branch 'public/ticket24849_032'
This commit is contained in:
commit
80c8689be1
3
changes/ticket24849
Normal file
3
changes/ticket24849
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features (directory authority):
|
||||
- When unable to add signatures to a pending consensus, log the reason
|
||||
why. Closes ticket 24849.
|
@ -3560,7 +3560,13 @@ dirvote_add_signatures_to_pending_consensus(
|
||||
}
|
||||
r = networkstatus_add_detached_signatures(pc->consensus, sigs,
|
||||
source, severity, msg_out);
|
||||
log_info(LD_DIR,"Added %d signatures to consensus.", r);
|
||||
if (r >= 0) {
|
||||
log_info(LD_DIR,"Added %d signatures to consensus.", r);
|
||||
} else {
|
||||
log_fn(LOG_PROTOCOL_WARN, LD_DIR,
|
||||
"Unable to add signatures to consensus: %s",
|
||||
*msg_out ? *msg_out : "(unknown)");
|
||||
}
|
||||
|
||||
if (r >= 1) {
|
||||
char *new_signatures =
|
||||
|
Loading…
Reference in New Issue
Block a user