Skip to content

Commit

Permalink
Fix log (#6)
Browse files Browse the repository at this point in the history
Fix logging

Added a type conversion to string because the warning was printing a byte slice.
  • Loading branch information
matthieugusmini authored Feb 3, 2023
1 parent 47a81e1 commit dcd7fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (c *Client) handleEvents(data chan<- Event) error {
// If the request for data is rejected, an error will be sent instead of the table schema.
if !readSchema && isErrorResponse(token) {
c.options.logger.Warn("Failed to read the table schema",
"error", token,
"error", string(token),
)
continue
}
Expand Down

0 comments on commit dcd7fe5

Please sign in to comment.