return nil to CATCH the flag_api_call_error
This commit is contained in:
parent
8d29c364c3
commit
308dc93a91
@ -204,7 +204,7 @@ func (h *MenuHandlers) SwapMaxLimit(ctx context.Context, sym string, input []byt
|
||||
if err != nil {
|
||||
res.FlagSet = append(res.FlagSet, flag_api_call_error)
|
||||
logg.ErrorCtxf(ctx, "failed on GetSwapFromTokenMaxLimit", "error", err)
|
||||
return res, err
|
||||
return res, nil
|
||||
}
|
||||
|
||||
// Scale down the amount
|
||||
|
||||
Loading…
Reference in New Issue
Block a user