Skip to content

A free open source IT asset/license management system

Added more verbose messaging

sniped3830a44d84e
diff --git a/app/Services/Saml.php b/app/Services/Saml.php
index dc46a0b920..3000233cea 100644
--- a/app/Services/Saml.php
+++ b/app/Services/Saml.php
@@ -134,7 +134,7 @@ class Saml
try {
$this->_auth = new OneLogin_Saml2_Auth($this->_settings);
} catch (Exception $e) {
- \Log::debug('Trying OneLogin_Saml2_Auth failed - exception thrown. Setting SAML enabled to false.');
+ \Log::debug('Trying OneLogin_Saml2_Auth failed - exception thrown. Setting SAML enabled to false.'. $e->getMessage());
$this->_enabled = false;
}
}