Throw ServerNotAvailableException always
This commit is contained in:
parent
fafecd1c05
commit
25dd4ec767
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue