Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@ -331,7 +331,7 @@ class Log implements ILogger {
* @return void
* @since 8.2.0
*/
public function logException($exception, array $context = []) {
public function logException(\Throwable $exception, array $context = []) {
$level = Util::ERROR;
if (isset($context['level'])) {
$level = $context['level'];
@ -144,5 +144,5 @@ interface ILogger {
public function logException($exception, array $context = []);
public function logException(\Throwable $exception, array $context = []);
}