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:
Maksim Sukharev 2025-10-09 17:42:33 +02:00
parent 989c8b23c2
commit 1435b48038

View file

@ -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
}