Skip to content

Commit 5908339

Browse files
committed
log exception
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent c5f75ad commit 5908339

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/ShareByCircleProvider.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,13 @@ public function formatShare(IShare $share): array {
604604
$circle = $this->circleService->probeCircle($share->getSharedWith(), $circleProbe, $dataProbe);
605605
$result['share_with_displayname'] = $circle->getDisplayName();
606606
} catch (Exception $e) {
607+
$this->logger->warning(
608+
'Circle not found while probeCircle',
609+
[
610+
'sharedWith' => $share->getSharedWith(),
611+
'exception' => $e
612+
]
613+
);
607614
}
608615

609616
return $result;

0 commit comments

Comments
 (0)