From 5bd5945ef9d6deff448bd30285f2bfd287d46de6 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 22 Jul 2009 09:21:00 +0000
Subject: [PATCH] SSOService: Call correct handler for errors during
 authentication processing.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1593 44740490-163a-0410-bde0-09ae8108e29a
---
 www/saml2/idp/SSOService.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php
index a96b466d5..b8059f6c8 100644
--- a/www/saml2/idp/SSOService.php
+++ b/www/saml2/idp/SSOService.php
@@ -375,7 +375,7 @@ if($needAuth && !$isPassive) {
 			try {
 				$pc->processState($authProcState);
 			} catch (Exception $e) {
-				handleException($e);
+				handleError($e);
 			}
 
 			$requestcache['AuthProcState'] = $authProcState;
-- 
GitLab