Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
f25465e8
Unverified
Commit
f25465e8
authored
May 22, 2021
by
asynchronous rob
Committed by
GitHub
May 22, 2021
Browse files
Some more debug logging (#3073)
* log validator index when importing statement * log validation failures in debug
parent
bb1d6e7d
Pipeline
#139028
passed with stages
in 27 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/core/backing/src/lib.rs
View file @
f25465e8
...
...
@@ -768,6 +768,7 @@ impl CandidateBackingJob {
tracing
::
debug!
(
target
:
LOG_TARGET
,
statement
=
?
statement
.payload
()
.to_compact
(),
validator_index
=
statement
.validator_index
()
.0
,
"Importing statement"
,
);
...
...
node/core/candidate-validation/src/lib.rs
View file @
f25465e8
...
...
@@ -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
)),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment