Fix more errors

This commit is contained in:
Art4 2024-11-17 22:26:43 +00:00
parent 08ecf2c9a4
commit 12ed714a9e
5 changed files with 13 additions and 17 deletions

View file

@ -94,7 +94,7 @@ class Trust extends BaseModule
// exception wanted!
throw $e;
} catch (\Exception $e) {
$this->logger->warning('Unexpected error during authentication.', ['user' => $this->session->getLocalUserId(), 'exception' => $exception]);
$this->logger->warning('Unexpected error during authentication.', ['user' => $this->session->getLocalUserId(), 'exception' => $e]);
}
}
}