Skip to content

Firefly III: a personal finances manager

Do not email about OAuth exceptions.

James Cole746bd2ce924f
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index fb88b39a63..5d2cdb2426 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -121,7 +121,7 @@ class Handler extends ExceptionHandler
// if the user wants us to mail:
if (true === $doMailError
// and if is one of these error instances
- && ($exception instanceof FireflyException || $exception instanceof ErrorException || $exception instanceof OAuthServerException)) {
+ && ($exception instanceof FireflyException || $exception instanceof ErrorException)) {
$userData = [
'id' => 0,
'email' => '[email protected]',