Skip to content

Commit

Permalink
log errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nadim-az committed Dec 16, 2024
1 parent 2e7ee57 commit b5d1e7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/solvercli/cmd/initiate_timeout.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func initiateTimeout(cmd *cobra.Command, args []string) {

client, gateway, err := setupGatewayContract(ctx, sourceChainConfig, gatewayAddr)
if err != nil {
lmt.Logger(ctx).Error("Failed to setup fast transfer gateway contract", zap.Error(err))
return
}

Expand All @@ -98,6 +99,7 @@ func initiateTimeout(cmd *cobra.Command, args []string) {
}

if err := verifyOrderTimeout(ctx, order); err != nil {
lmt.Logger(ctx).Error("Failed to verify order timeout", zap.Error(err))
return
}
cosmosTxExecutor := cosmos.DefaultSerializedCosmosTxExecutor()
Expand Down

0 comments on commit b5d1e7b

Please sign in to comment.