Skip to content

Commit

Permalink
DAV's exception logger should deal with any Throwable
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Apr 15, 2020
1 parent 8bc381f commit 73271aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function initialize(\Sabre\DAV\Server $server) {
* Log exception
*
*/
public function logException(\Exception $ex) {
public function logException(\Throwable $ex) {
$exceptionClass = get_class($ex);
$level = ILogger::FATAL;
if (isset($this->nonFatalExceptions[$exceptionClass]) ||
Expand Down

0 comments on commit 73271aa

Please sign in to comment.