added more relay and message-lane pallet logs (#527)

This commit is contained in:
Svyatoslav Nikolsky authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent fe11f6f1d9
commit 698d8d5600
4 files changed
+28 -3

No files matched your search

@@ -56,14 +56,20 @@ where
);
// we can't actually do anything here, because rewards are paid as a part of unrelated transaction
if let Err(error) = pay_result {
frame_support::debug::trace!(
match pay_result {
Ok(_) => frame_support::debug::trace!(
target: "runtime",
"Rewarded relayer {:?} with {:?}",
relayer,
reward,
),
Err(error) => frame_support::debug::trace!(
target: "runtime",
"Failed to pay relayer {:?} reward {:?}: {:?}",
relayer,
reward,
error,
);
),
}
}
}