Skip to content
Snippets Groups Projects
Unverified Commit 46dd4b8f authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

frame-support: Print key as hex for corrupted state (#2779)

parent 8d459d95
No related merge requests found
Pipeline #428581 canceled with stages
in 8 minutes and 33 seconds
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment