summaryrefslogtreecommitdiff
path: root/lib/http_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_helper.rb')
-rw-r--r--lib/http_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http_helper.rb b/lib/http_helper.rb
index c66df53..c6a4bb8 100644
--- a/lib/http_helper.rb
+++ b/lib/http_helper.rb
@@ -78,7 +78,8 @@ module HTTPHelper
$logger.warn('Failed to connect', method: method.to_s.upcase, url: url, error: e)
raise GitlabNet::ApiUnreachableError
ensure
- $logger.info('finished HTTP request', method: method.to_s.upcase, url: url, duration: Time.new - start_time)
+ fields = { method: method.to_s.upcase, url: url, duration: Time.new - start_time, gitaly_embedded: GITALY_EMBEDDED }
+ $logger.info('finished HTTP request', fields)
end
case response