From 746bd2ce924f7ee17b76f1becc8bde9b5ed8cfab Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 16 Dec 2018 13:15:09 +0100 Subject: [PATCH] Do not email about OAuth exceptions. --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' => 'unknown@example.com',