yii2-sentry
yii2-sentry copied to clipboard
Ignore certain error classes
I want to ignore some error classes, like yii\web\NotFoundHttpException
. How should I modify config?
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
'class' => 'notamedia\sentry\SentryTarget',
'dsn' => 'https://...@.../3',
'levels' => ['error', 'warning'],
// Write the context information (the default is true):
'context' => true,
// Additional options for `Sentry\init`:
//'clientOptions' => ['release' => '[email protected]']
],
]
]
This Question is answered in Issue #67