diff --git a/lib/private/hook.php b/lib/private/hook.php index b6e97b3f54..188c3d65ac 100644 --- a/lib/private/hook.php +++ b/lib/private/hook.php @@ -114,7 +114,7 @@ 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') { + if($e instanceof \OC\ServerNotAvailableException) { throw $e; } }