We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c33a9 commit 079bbf1Copy full SHA for 079bbf1
contracts/reflect/src/state.rs
@@ -18,7 +18,7 @@ pub struct State {
18
pub fn load_reply(storage: &dyn Storage, id: u64) -> StdResult<Reply> {
19
storage
20
.get(&namespace_with_key(&[RESULT_PREFIX], &id.to_be_bytes()))
21
- .ok_or_else(|| StdError::msg(format!("reply {id}")))
+ .ok_or_else(|| StdError::msg(format!("reply {id} not found")))
22
.and_then(from_json)
23
}
24
0 commit comments