mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files_sharing): correctly handle error in case of failing share creation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
989c8b23c2
commit
1435b48038
1 changed files with 1 additions and 0 deletions
|
|
@ -1100,6 +1100,7 @@ export default {
|
|||
return resultingShare
|
||||
} catch (error) {
|
||||
logger.error('Error while adding new share', { error })
|
||||
throw error
|
||||
} finally {
|
||||
// this.loading = false // No loader here yet
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue