summaryrefslogtreecommitdiffstats
path: root/lib/private/hintexception.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-11 14:14:02 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-09-17 13:17:52 +0200
commit6d3757f8648cb94b2ba04c6a5bfbc9dd1493103b (patch)
tree0cef084c3140b52a4ced70acc6ede3eb52cf33ab /lib/private/hintexception.php
parent45b17207ccf03703d4d6c3925f5405f52579aee5 (diff)
downloadnextcloud-server-6d3757f8648cb94b2ba04c6a5bfbc9dd1493103b.tar.gz
nextcloud-server-6d3757f8648cb94b2ba04c6a5bfbc9dd1493103b.zip
Do not show exception to the end-user
Log the error instead of potentially leaking sensitive information
Diffstat (limited to 'lib/private/hintexception.php')
-rw-r--r--lib/private/hintexception.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/hintexception.php b/lib/private/hintexception.php
index 3934ae2a4c2..3a8361e9e80 100644
--- a/lib/private/hintexception.php
+++ b/lib/private/hintexception.php
@@ -12,7 +12,7 @@ class HintException extends \Exception {
private $hint;
- public function __construct($message, $hint = '', $code = 0, Exception $previous = null) {
+ public function __construct($message, $hint = '', $code = 0, \Exception $previous = null) {
$this->hint = $hint;
parent::__construct($message, $code, $previous);
}