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 3ca44f7 commit b3ecf39Copy full SHA for b3ecf39
lib/github/ldap/instrumentation.rb
@@ -13,6 +13,7 @@ module Instrumentation
13
#
14
# Returns the return value of the block.
15
def instrument(event, payload = {})
16
+ payload = (payload || {}).dup
17
if instrumentation_service
18
instrumentation_service.instrument(event, payload) do |payload|
19
payload[:result] = yield(payload) if block_given?
0 commit comments