Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Jun 11, 2024
1 parent ced02b8 commit b4d05de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/xandra/connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ defmodule Xandra.Connection do
# This is in an anonymous function so that we can use it in a Telemetry span.
fun = fn ->
with :ok <- Transport.send(transport, payload),
Logger.debug("Sent query on stream ID #{stream_id}, will wait for an answer"),
{:ok, %Frame{} = frame} <-
receive_response_frame(conn_pid, req_alias, checked_out_state, timeout) do
case protocol_module.decode_response(frame, query, options) do
Expand Down

0 comments on commit b4d05de

Please sign in to comment.