mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
frame-support: Print key as hex for corrupted state (#2779)
This commit is contained in:
@@ -27,8 +27,8 @@ pub fn get<T: Decode + Sized>(key: &[u8]) -> Option<T> {
|
||||
// TODO #3700: error should be handleable.
|
||||
log::error!(
|
||||
target: "runtime::storage",
|
||||
"Corrupted state at `{:?}: {:?}`",
|
||||
key,
|
||||
"Corrupted state at `{}`: {:?}",
|
||||
array_bytes::bytes2hex("0x", key),
|
||||
e,
|
||||
);
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user