mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Filter additional exceptions
This commit is contained in:
parent
22fdb082b0
commit
1e5b112254
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user