diff options
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 c9ca58f779e..7c7128646a9 100644 --- a/lib/private/hook.php +++ b/lib/private/hook.php @@ -80,6 +80,9 @@ class OC_Hook{ OC_Log::write('hook', 'error while running hook (' . $i["class"] . '::' . $i["name"] . '): '.$e->getMessage(), OC_Log::ERROR); + if($e instanceof \OC\ServerNotAvailableException && $signalclass === 'OC_Filesystem' && $signalname === 'setup') { + throw $e; + } } } |