From 7fa7d3171d86a9731aea75a9f9af88c0bb97cffd Mon Sep 17 00:00:00 2001 From: adairrr <32375605+adairrr@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:39:53 -0500 Subject: [PATCH] Ensure that rawQuery throws error --- packages/cosmwasm-utils/src/query/rawQuery.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cosmwasm-utils/src/query/rawQuery.ts b/packages/cosmwasm-utils/src/query/rawQuery.ts index 2348c0a7..aed6904f 100644 --- a/packages/cosmwasm-utils/src/query/rawQuery.ts +++ b/packages/cosmwasm-utils/src/query/rawQuery.ts @@ -25,6 +25,7 @@ export const rawQuery = async ({ return res } catch (e) { console.error('Could not parse response', e, fromAscii(response)) + throw e } }) }