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