Log reason why we removed the fed share
This commit is contained in:
parent
8d32e1d35b
commit
646c90cc4a
1 changed files with 1 additions and 0 deletions
|
@ -240,6 +240,7 @@ class FederatedShareProvider implements IShareProvider {
|
|||
throw new \Exception($message_t);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$this->logger->error('Failed to notify remote server of federated share, removing share (' . $e->getMessage() . ')');
|
||||
$this->removeShareFromTableById($shareId);
|
||||
throw $e;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue