diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SimpleSAML/Error/NotFound.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/SimpleSAML/Error/NotFound.php b/lib/SimpleSAML/Error/NotFound.php index 3c8a643..9014290 100644 --- a/lib/SimpleSAML/Error/NotFound.php +++ b/lib/SimpleSAML/Error/NotFound.php @@ -31,8 +31,10 @@ class SimpleSAML_Error_NotFound extends SimpleSAML_Error_Error { if($reason === NULL) { parent::__construct(array('NOTFOUND', '%URL%' => $url)); + $this->message = "The requested page '$url' could not be found."; } else { parent::__construct(array('NOTFOUNDREASON', '%URL%' => $url, '%REASON%' => $reason)); + $this->message = "The requested page '$url' could not be found. ".$reason; } $this->reason = $reason; |