]> source.dussan.org Git - nextcloud-server.git/commit
Log exceptions when creating share 26115/head
authorVincent Petry <vincent@nextcloud.com>
Mon, 15 Mar 2021 11:00:41 +0000 (12:00 +0100)
committerVincent Petry <vincent@nextcloud.com>
Mon, 15 Mar 2021 11:00:41 +0000 (12:00 +0100)
commit699734493135c5695f002549e313f10fde534a4d
tree911f6aeae5de03ff4dfedcba647fde453b09ab38
parentf82edda9c190462132f5042a177e7fa413291330
Log exceptions when creating share

Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
apps/files_sharing/lib/Controller/ShareAPIController.php