Skip to content

Commit

Permalink
log custom action input error to console
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Sep 24, 2024
1 parent 10ad237 commit dc173b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export const CustomComponent: ActionComponent = ({
validateCosmosMsgForChain(chainId, makeCosmosMsg(msg))
)
} catch (err) {
console.error('Custom error', err)
return err instanceof Error ? err.message : `${err}`
}

Expand Down

0 comments on commit dc173b5

Please sign in to comment.