Log reason why we removed the fed share

This commit is contained in:
Robin Appelman 2016-06-27 16:38:47 +02:00
parent 8d32e1d35b
commit 646c90cc4a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}