Skip to content

Commit 02d2dec

Browse files
Antreesybackportbot[bot]
authored andcommitted
fix(files_sharing): correctly handle error in case of failing share creation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com> [skip ci]
1 parent 989c8b2 commit 02d2dec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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
}

0 commit comments

Comments
 (0)