Skip to content

Commit

Permalink
Log when we send a request down the websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Jan 3, 2024
1 parent 84cdacd commit 6c857da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func (p *provider) ExecuteCommand(command string) (json.RawMessage, error) {
}

// Send over our command and listen for the result
p.log.Info().Str("request", string(buf)).Msg("Send request")
go p.ws.WriteMessage(websocket.TextMessage, buf)

select {
Expand Down

0 comments on commit 6c857da

Please sign in to comment.