catch openid errors

This commit is contained in:
Christian Weiske 2012-01-26 13:30:42 +01:00
parent 1ab3c45d71
commit 9ac32984eb

View File

@ -156,9 +156,9 @@ class SemanticScuttle_Service_OpenID extends SemanticScuttle_DbService
$identifier = $message->get('openid.claimed_id');
} catch (OpenID_Exception $e) {
//FIXME: report error
var_dump($e);die();
throw $e;
throw new SemanticScuttle_Exception_User(
'Unknown OpenID error', 14, $e
);
}
try {