summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/StorageNotAvailableException.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-09-19 12:17:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-24 15:43:15 +0200
commit44cf67accdc294f46bf82b3f8661f353dc5e22f0 (patch)
tree4e0211076e1a7d9ee06e6f89429509114832be05 /lib/public/Files/StorageNotAvailableException.php
parent729c06548fbfe035c14dae68c4b09494b292d217 (diff)
downloadnextcloud-server-44cf67accdc294f46bf82b3f8661f353dc5e22f0.tar.gz
nextcloud-server-44cf67accdc294f46bf82b3f8661f353dc5e22f0.zip
Storage 503 message improvements
"Storage not available" is now "Storage temporarily not available". Exceptions are now logged in DEBUG level, not FATAL.
Diffstat (limited to 'lib/public/Files/StorageNotAvailableException.php')
-rw-r--r--lib/public/Files/StorageNotAvailableException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Files/StorageNotAvailableException.php b/lib/public/Files/StorageNotAvailableException.php
index a28a66f2510..b6a5a70718a 100644
--- a/lib/public/Files/StorageNotAvailableException.php
+++ b/lib/public/Files/StorageNotAvailableException.php
@@ -58,7 +58,7 @@ class StorageNotAvailableException extends HintException {
*/
public function __construct($message = '', $code = self::STATUS_ERROR, \Exception $previous = null) {
$l = \OC::$server->getL10N('core');
- parent::__construct($message, $l->t('Storage not available'), $code, $previous);
+ parent::__construct($message, $l->t('Storage is temporarily not available'), $code, $previous);
}
/**