How to filter polzovalsya exceptions?

In your project, use the service Sentrywith a library for Yii2.

In some moments, we have exceptions, such as:

if (!$hasMoney) {
 throw new BadRequestHttpException('Insufficient funds');
 }


Accordingly it comes to the notice of acceptane in Sentry. How best to proceed in this situation?
June 10th 19 at 14:36
1 answer
June 10th 19 at 14:38
In docks to yii2-sentry says:
log' => [
 'targets' => [
[
 'except' => [
'yii\web\HttpException:404',
],
],
],
 ],

Find more questions by tags ExceptionsPHP