Skip to content

Commit d383f00

Browse files
authored
Merge pull request #55740 from nextcloud/backport/55655/stable31
[stable31] fix(files_sharing): correctly handle error in case of failing share creation
2 parents 4780ed1 + 5695916 commit d383f00

10 files changed

Lines changed: 8 additions & 7 deletions

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,7 @@ export default {
11001100
return resultingShare
11011101
} catch (error) {
11021102
logger.error('Error while adding new share', { error })
1103+
throw error
11031104
} finally {
11041105
// this.loading = false // No loader here yet
11051106
}

dist/4003-4003.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/4003-4003.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/4003-4003.js.map.license

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4003-4003.js.license

dist/4219-4219.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/4219-4219.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/4219-4219.js.map.license

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)