mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 02:21:14 +00:00
Some more debug logging (#3073)
* log validator index when importing statement * log validation failures in debug
This commit is contained in:
committed by
GitHub
parent
44d02faa62
commit
02faeede88
@@ -404,6 +404,14 @@ async fn validate_candidate_exhaustive(
|
||||
)
|
||||
.await;
|
||||
|
||||
if let Err(ref e) = result {
|
||||
tracing::debug!(
|
||||
target: LOG_TARGET,
|
||||
error = ?e,
|
||||
"Failed to validate candidate",
|
||||
);
|
||||
}
|
||||
|
||||
let result = match result {
|
||||
Err(ValidationError::InternalError(e)) => Err(ValidationFailed(e)),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user