Skip to content

Package for excluding errors from sentry using regex in env.php

Notifications You must be signed in to change notification settings

Vendic/magento2-sentry-exclude-errors-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exclude errors from Sentry using regex

With this module we can exclude errors from sentry using regex matching.

Installation

composer require vendic/magento2-sentry-exclude-errors-regex

Usage

Add entry to the env.php within the sentry node sentry. Example:

    'sentry' => [
        'ignore_exceptions_regex' => [
            '^Placing an order with quote_id \\w{32} is failed: The payment is REFUSED\\.$'
        ]
    ]

About

Package for excluding errors from sentry using regex in env.php

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages