mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
Merge pull request #42014 from nextcloud/backport/41985/stable28
This commit is contained in:
commit
52aadb5fd2
1 changed files with 2 additions and 2 deletions
|
|
@ -70,9 +70,9 @@ class BrowserErrorPagePlugin extends ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param \Exception $ex
|
||||
* @param \Throwable $ex
|
||||
*/
|
||||
public function logException(\Exception $ex) {
|
||||
public function logException(\Throwable $ex): void {
|
||||
if ($ex instanceof Exception) {
|
||||
$httpCode = $ex->getHTTPCode();
|
||||
$headers = $ex->getHTTPHeaders($this->server);
|
||||
|
|
|
|||
Loading…
Reference in a new issue