Method: Webhookdb::Replicator::Base#preprocess_headers_for_logging
- Defined in:
- lib/webhookdb/replicator/base.rb
#preprocess_headers_for_logging(headers) ⇒ Object
In some cases, services may send us sensitive headers we do not want to log. This should be very rare but some services are designed really badly and send auth info in the webhook. Remove or obfuscate the passed header hash.
76 |
# File 'lib/webhookdb/replicator/base.rb', line 76 def preprocess_headers_for_logging(headers); end |