Skip to content

Commit

Permalink
correct test code
Browse files Browse the repository at this point in the history
  • Loading branch information
zendesk-mattlefevre committed Aug 25, 2023
1 parent 2505f96 commit 1f1ffcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
config.lograge.custom_options = ->(event) do
# show params for every request
unwanted_keys = ['format', 'action', 'controller']
params = event.payload.dig(:params).reject { |key, _| unwanted_keys.include? key }
params = event.payload[:params].reject { |key, _| unwanted_keys.include? key }
params['commits'] = '... truncated ...' if params['commits'] # lots of metadata from github we don't need
request = event.payload[:headers].instance_variable_get(:@req)
{
Expand Down

0 comments on commit 1f1ffcf

Please sign in to comment.