From 67fdc690517a7cad7918df4cc70c7bb74f6d809e Mon Sep 17 00:00:00 2001 From: Arnaud Mimart <33665250+amimart@users.noreply.github.com> Date: Wed, 24 May 2023 15:13:26 +0200 Subject: [PATCH] fix(cognitarium): manage non implemented messages --- contracts/okp4-cognitarium/src/contract.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/okp4-cognitarium/src/contract.rs b/contracts/okp4-cognitarium/src/contract.rs index ed0f85db..d404aa0f 100644 --- a/contracts/okp4-cognitarium/src/contract.rs +++ b/contracts/okp4-cognitarium/src/contract.rs @@ -38,6 +38,7 @@ pub fn execute( ExecuteMsg::InsertData { format, data } => { insert(deps, info, format.unwrap_or(DataFormat::Turtle), data) } + _ => Err(StdError::generic_err("Not implemented").into()), } }