Skip to content

MooncellWiki/mediawiki-extensions-Sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sentry doc about before send

wfLoadExtension('Sentry');
$wgSentryDsn = 'https://examplePublicKey@o0.ingest.sentry.io/0';
$wgSentrySampleRate = 0.1;
$wgSentryBeforeSend = function($event, $hint) {
        // Ignore the event if the original exception is an instance of MyException
        if ($hint !== null && $hint->exception instanceof MyException) {
          return null;
        }
        return $event;
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages