Skip to content

Commit 1435b48

Browse files
committed
fix(files_sharing): correctly handle error in case of failing share creation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent 989c8b2 commit 1435b48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎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)