From 76eef24e65e4eb97840880566a3e2c9d6461961e Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 24 Oct 2019 14:14:18 +0200 Subject: [PATCH] SSO: Log openssl errors --- plugins/kolab_sso/drivers/oauth2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_sso/drivers/oauth2.php b/plugins/kolab_sso/drivers/oauth2.php index 6792d35f..716cee42 100644 --- a/plugins/kolab_sso/drivers/oauth2.php +++ b/plugins/kolab_sso/drivers/oauth2.php @@ -283,7 +283,7 @@ class kolab_sso_oauth2 $key = $keyid; } else { - throw new Exception("Failed to extract public key"); + throw new Exception("Failed to extract public key. " . openssl_error_string()); } }