From 1e5b1122540a1ab8426838e4c8514d2d60966e5f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 11 Feb 2021 14:06:03 +1100 Subject: [PATCH] Filter additional exceptions --- app/Exceptions/Handler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 38007c848d..850c67dfae 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -111,6 +111,10 @@ class Handler extends ExceptionHandler return false; } + if (strpos($exception->getMessage(), 'expects parameter 1 to be resource') !== false) { + return false; + } + return true; }