diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-01 17:12:28 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2015-04-10 09:12:37 +0200 |
commit | 5626a02d69e26bda25bc14f9e5405dce7f928d17 (patch) | |
tree | b346bd15dffc633070966f9671c315daa76ed01f /lib/private/hook.php | |
parent | 473d3e14c887049aa6d5877192126f8aef3a8d8f (diff) | |
download | nextcloud-server-5626a02d69e26bda25bc14f9e5405dce7f928d17.tar.gz nextcloud-server-5626a02d69e26bda25bc14f9e5405dce7f928d17.zip |
throw exception if setup is incomplete
Diffstat (limited to 'lib/private/hook.php')
-rw-r--r-- | lib/private/hook.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/hook.php b/lib/private/hook.php index c4ea1999b09..1e7a084bc31 100644 --- a/lib/private/hook.php +++ b/lib/private/hook.php @@ -114,6 +114,9 @@ class OC_Hook{ OC_Log::write('hook', 'error while running hook (' . $class . '::' . $i["name"] . '): ' . $message, OC_Log::ERROR); + if($e instanceof \OC\ServerNotAvailableException && $signalclass === 'OC_Filesystem' && $signalname === 'setup') { + throw $e; + } } } |