[geeklog-cvs] Auth_Enterprise/Server AEServiceUser.class.php,1.2,1.3
tony at iowaoutdoors.org
tony at iowaoutdoors.org
Fri Jun 18 17:35:29 EDT 2004
Update of /var/cvs/Auth_Enterprise/Server
In directory www:/tmp/cvs-serv18719
Modified Files:
AEServiceUser.class.php
Log Message:
Server shouldn't be handling any exceptions and should, instead, throw them all the way back to the client where they can figure out what to do.
Index: AEServiceUser.class.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Server/AEServiceUser.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AEServiceUser.class.php 17 Jun 2004 05:33:30 -0000 1.2
--- AEServiceUser.class.php 18 Jun 2004 21:35:27 -0000 1.3
***************
*** 87,92 ****
try {
$user = $provider->authenticate($userName, $password);
! } catch (Exception $error) {
! die($error->getMessage());
}
return $user;
--- 87,92 ----
try {
$user = $provider->authenticate($userName, $password);
! } catch (Exception $e) {
! throw $e;
}
return $user;
More information about the geeklog-cvs
mailing list