From 4a8653040c7e1a94c7d640c33120664321a45251 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Sun, 12 Feb 2023 14:08:54 +0100 Subject: [PATCH] Use deep merge for Runner::Connection headers --- lib/runner/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runner/connection.rb b/lib/runner/connection.rb index 991c7a2c..9f068464 100644 --- a/lib/runner/connection.rb +++ b/lib/runner/connection.rb @@ -23,7 +23,7 @@ class Runner::Connection sentry_transaction = Sentry.get_current_scope&.get_span sentry_span = sentry_transaction&.start_child(op: SENTRY_OP_NAME, start_timestamp: Sentry.utc_now.to_f) - http_headers = strategy.class.websocket_header.merge sentry_trace_header(sentry_span) + http_headers = strategy.class.websocket_header.deep_merge sentry_trace_header(sentry_span) @socket = Faye::WebSocket::Client.new(url, [], http_headers) @strategy = strategy