mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
add tracing when no assignment in candidate selection (#2623)
This commit is contained in:
committed by
GitHub
parent
94d50afd4e
commit
bb462683b9
@@ -164,6 +164,18 @@ impl JobTrait for CandidateSelectionJob {
|
||||
}
|
||||
None => {
|
||||
assignment_span.add_string_tag("assigned", "false");
|
||||
|
||||
let validator_index = validator.index();
|
||||
let validator_id = validator.id();
|
||||
|
||||
tracing::debug!(
|
||||
target: LOG_TARGET,
|
||||
?relay_parent,
|
||||
?validator_index,
|
||||
?validator_id,
|
||||
"No assignment. Will not select candidate."
|
||||
);
|
||||
|
||||
return Ok(())
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user