Skip to content

Commit

Permalink
On an error querying a proposal just log the error and continue rathe…
Browse files Browse the repository at this point in the history
…r than

aborting and stoping
  • Loading branch information
zmanian committed Aug 9, 2024
1 parent b01c3ce commit f58e461
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/proposals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,8 @@ async fn poll_approved_proposals(
break;
}
} else {
return Err(proposal_processing_error(format!(
"error querying proposal {}: {}",
proposal_id, err
)));
error!("error querying proposal {}: {}", proposal_id, err);
continue;
}
}
};
Expand Down

0 comments on commit f58e461

Please sign in to comment.