summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2016-04-13 13:01:15 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2016-04-13 13:01:15 +0200
commit2bfaaef9547baa8cb71b7f36553c3a9863289f1e (patch)
treeaec44791cb301378e91c45eb1896c45083b21de6 /lib/SimpleSAML
parent1c52db21368d2d91490b2ed1b38f5329f1548958 (diff)
downloadsimplesamlphp-2bfaaef9547baa8cb71b7f36553c3a9863289f1e.zip
simplesamlphp-2bfaaef9547baa8cb71b7f36553c3a9863289f1e.tar.gz
simplesamlphp-2bfaaef9547baa8cb71b7f36553c3a9863289f1e.tar.bz2
Errors displayed to the user should be anonymized.
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r--lib/SimpleSAML/Error/Error.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SimpleSAML/Error/Error.php b/lib/SimpleSAML/Error/Error.php
index eb21fc5..7689d5f 100644
--- a/lib/SimpleSAML/Error/Error.php
+++ b/lib/SimpleSAML/Error/Error.php
@@ -206,7 +206,7 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
protected function saveError()
{
- $data = $this->format();
+ $data = $this->format(true);
$emsg = array_shift($data);
$etrace = implode("\n", $data);