summaryrefslogtreecommitdiffstats
path: root/lib/private/log.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/log.php')
-rw-r--r--lib/private/log.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/log.php b/lib/private/log.php
index 9a2a2da906e..bbdad9cf166 100644
--- a/lib/private/log.php
+++ b/lib/private/log.php
@@ -270,12 +270,12 @@ class Log implements ILogger {
/**
* Logs an exception very detailed
*
- * @param \Exception $exception
+ * @param \Exception | \Throwable $exception
* @param array $context
* @return void
* @since 8.2.0
*/
- public function logException(\Exception $exception, array $context = array()) {
+ public function logException($exception, array $context = array()) {
$exception = array(
'Exception' => get_class($exception),
'Message' => $exception->getMessage(),