]> source.dussan.org Git - nextcloud-server.git/commit
Log exceptions when creating share 26130/head
authorVincent Petry <vincent@nextcloud.com>
Mon, 15 Mar 2021 11:00:41 +0000 (12:00 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 15 Mar 2021 15:06:43 +0000 (15:06 +0000)
commit20ebdf4fe040d1fd9ce3629e90f9132abd1881ba
treefcc6059e1a60029396b8bded130dbfbf5b00c3d8
parent3e18eca7a01cdc91013aab8e6296274dbdd556f5
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