mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -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
48c2dd6279
commit
d3c44e5147
1 changed files with 1 additions and 0 deletions
|
|
@ -1179,6 +1179,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