Skip to content

Add ability to control how exceptions are grouped for error_grouping #513

@westonganger

Description

@westonganger

We should be able to control how the exceptions are being grouped.

Out of the box the errors are grouped by name and message. This is not very unique.

I want to be able to provide a proc to generate custom grouping identifiers

get_group_identifier: ->(exception, env, data){
  [
    exception.name,
    exception.message,
    env.ip,
    exception.backtrace.first,
  ].join("/")
}

Without this feature the error grouping feature seems not very useful for generic use.

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