Skip to content

Commit

Permalink
Log connection options
Browse files Browse the repository at this point in the history
  • Loading branch information
david-krentzlin committed Aug 12, 2024
1 parent daf442f commit 623cddd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/beetle/queue_properties.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def run_rabbit_http_request(uri, request, &block)
server = uri.port ? "#{uri.hostname}:#{uri.port}" : uri.hostname
connection_options = config.connection_options_for_server(server)

$stderr.puts "Running request to #{uri} with options: #{connection_options.inspect}"

request.basic_auth(connection_options[:user], connection_options[:pass])
case request.class::METHOD
when 'GET'
Expand Down

0 comments on commit 623cddd

Please sign in to comment.