Navigation Menu

Skip to content

Commit

Permalink
Log reason why we removed the fed share
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Jun 27, 2016
1 parent 8d32e1d commit 646c90c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/federatedfilesharing/lib/FederatedShareProvider.php
Expand Up @@ -240,6 +240,7 @@ protected function createFederatedShare(IShare $share) {
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;
}
Expand Down

0 comments on commit 646c90c

Please sign in to comment.