Exception: StandardAudit::MetadataFilter::UnfilterableMetadataError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- StandardAudit::MetadataFilter::UnfilterableMetadataError
- Defined in:
- lib/standard_audit/metadata_filter.rb
Overview
Raised when metadata is neither nil nor hash-like. Deliberately a raise
rather than a pass-through: this filter fails closed. An
ActionController::Parameters is not a Hash, and letting an unrecognised
object through unfiltered would write raw params — passwords included —
into an append-only row. Pre-0.7.0 the same input blew up with
NoMethodError on #reject, so raising preserves the outcome while
naming the cause.