Skip to content
Snippets Groups Projects
Commit c762ea52 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Merge pull request #421 from sgomez/fix-use-exception

Removed unnecessary exception
parents 8eaf60b1 aaf82323
Branches
Tags
No related merge requests found
......@@ -8,7 +8,6 @@
namespace SimpleSAML\Utils;
use SimpleSAML\Logger;
use Symfony\Component\Config\Definition\Exception\Exception;
class XML
{
......@@ -405,7 +404,7 @@ class XML
try {
$dom = \SAML2_DOMDocumentFactory::fromString($xml);
$res = true;
} catch (Exception $e) {
} catch (\Exception $e) {
$res = false;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment