mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update exceptions handler
This commit is contained in:
parent
178ed63d0a
commit
7e0be15404
1 changed files with 46 additions and 45 deletions
|
@ -4,6 +4,7 @@ namespace App\Exceptions;
|
|||
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
use Throwable;
|
||||
use League\OAuth2\Server\Exception\OAuthServerException;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
{
|
||||
|
@ -13,7 +14,7 @@ class Handler extends ExceptionHandler
|
|||
* @var array
|
||||
*/
|
||||
protected $dontReport = [
|
||||
//
|
||||
OAuthServerException::class
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue