Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

wrong number of params exception  #14

@abo-elleef

Description

@abo-elleef

https://github.com/ryancheung/exception_logger/blob/master/lib/exception_logger.rb#L62
def filter_sub_parameters(params, rails_filter_parameters) params.each do |key, value| if(value.class != Hash and value.class != ActiveSupport::HashWithIndifferentAccess) params[key] = '[FILTERED]' if rails_filter_parameters.include?(key.to_sym) else params[key] = filter_sub_parameters(value) end end params end

it keep raise error : as we call the same method with wrong number of params

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions