Skip to content

Commit

Permalink
fixup! Kraken: Subscription templating
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Aug 14, 2024
1 parent 44d8b77 commit 872ef86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/kraken/kraken_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ func (k *Kraken) getRespErr(resp []byte) error {
var msg string
if msg, err = jsonparser.GetString(resp, "errorMessage"); err != nil {
log.Errorf(log.ExchangeSys, "%s error parsing WS errorMessage: %s from message: %s", k.Name, err, resp)
return fmt.Errorf("error status did not contain errorMessage: %s", resp)
return fmt.Errorf("%w: error message did not contain errorMessage: %s", errUnknownError, resp)
}
return errors.New(msg)
}
Expand Down

0 comments on commit 872ef86

Please sign in to comment.