We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 910b13e commit 7c6f709Copy full SHA for 7c6f709
lib/net/ldap/instrumentation.rb
@@ -10,6 +10,7 @@ module Net::LDAP::Instrumentation
10
#
11
# Returns the return value of the block.
12
def instrument(event, payload = {})
13
+ payload = (payload || {}).dup
14
if instrumentation_service
15
instrumentation_service.instrument(event, payload) do |payload|
16
payload[:result] = yield(payload) if block_given?
0 commit comments