Include log target for parachains-inherent. (#5470)

This commit is contained in:
Robert Klotzner
2022-05-06 15:20:56 +02:00
committed by GitHub
parent 20e56a453c
commit 35a87e0fa3
@@ -33,6 +33,8 @@ use sp_blockchain::HeaderBackend;
use sp_runtime::generic::BlockId;
use std::time;
pub(crate) const LOG_TARGET: &str = "parachain::parachains-inherent";
/// How long to wait for the provisioner, before giving up.
const PROVISIONER_TIMEOUT: time::Duration = core::time::Duration::from_millis(2500);
@@ -94,6 +96,7 @@ impl ParachainsInherentDataProvider {
},
Err(err) => {
gum::debug!(
target: LOG_TARGET,
?err,
"Could not get provisioner inherent data; injecting default data",
);