mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Filter additional exceptions
This commit is contained in:
parent
22fdb082b0
commit
1e5b112254
@ -111,6 +111,10 @@ class Handler extends ExceptionHandler
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strpos($exception->getMessage(), 'expects parameter 1 to be resource') !== false) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user