report error in logs

This commit is contained in:
<bdauvergne@entrouvert.com> 1209574728 +0200 0001-01-01 00:00:00 +00:00
parent 1edd1474fa
commit 05735adba1
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class LassoSPKitEndpoint extends LassoSPKitUrlDispatch {
$profile = $this->getProfileObject();
return $profile->processSOAPRequestSLO();
} catch (LassoError $e) {
lassospkit_debuglog('Critical error: ' . $e);
return $e->getCode();
} catch (Exception $e) {
return -1;