Skip to content

Commit 9100b07

Browse files
aumetrachipshort
andauthored
Update contracts/ibc-reflect/src/state.rs
Co-authored-by: Christoph Otter <[email protected]>
1 parent f440516 commit 9100b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/ibc-reflect/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub fn range_accounts(
6060
pub fn load_item<T: DeserializeOwned>(storage: &dyn Storage, key: &[u8]) -> StdResult<T> {
6161
storage
6262
.get(&to_length_prefixed(key))
63-
.ok_or_else(|| StdError::msg(type_name::<T>()))
63+
.ok_or_else(|| StdError::msg(format!("{} not found", type_name::<T>())))
6464
.and_then(from_json)
6565
}
6666

0 commit comments

Comments
 (0)