Skip to content

Commit

Permalink
binance: make the error message clear
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jan 24, 2024
1 parent 3aa6b0c commit c148477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exchange/binance/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func parseWebSocketEvent(message []byte) (interface{}, error) {
}
}

return nil, fmt.Errorf("unsupported message: %s", message)
return nil, fmt.Errorf("unsupported binance websocket message: %s", message)
}

// IsBookTicker document ref :https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-book-ticker-streams
Expand Down

0 comments on commit c148477

Please sign in to comment.