Skip to content

Commit

Permalink
Ignore common CakePHP exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Dec 2, 2022
1 parent c1136bf commit 9e4f0e9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion backend/config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,14 @@
'Error' => [
'errorLevel' => E_ALL,
'logger' => SentryErrorLogger::class,
'skipLog' => [],
'skipLog' => [
'Authentication\Authenticator\UnauthenticatedException',
'Authorization\Exception\ForbiddenException',
'Cake\Http\Exception\MissingControllerException',
'Cake\Http\Exception\ForbiddenException',
'Cake\Http\Exception\InvalidCsrfTokenException',
'Cake\Http\Exception\NotFoundException',
],
'log' => true,
'trace' => true,
'ignoredDeprecationPaths' => [],
Expand Down

0 comments on commit 9e4f0e9

Please sign in to comment.