log trace to reported error

This commit is contained in:
2022-11-04 00:05:52 +01:00
bovenliggende 8237917a06
commit d41c3da290
5 gewijzigde bestanden met toevoegingen van 7 en 0 verwijderingen

Bestand weergeven

@ -88,6 +88,7 @@ class d3webauthnlogin extends FrontendController
} catch (WebauthnException $e) {
Registry::getSession()->setVariable(WebauthnConf::GLOBAL_SWITCH, true);
Registry::getLogger()->error('webauthn request options: '.$e->getDetailedErrorMessage(), ['UserId' => $userId]);
Registry::getLogger()->debug($e->getTraceAsString());
Registry::getUtilsView()->addErrorToDisplay($e);
$this->getUtils()->redirect('index.php?cl=start');
}