diff --git a/src/components/ComposerAttachments.vue b/src/components/ComposerAttachments.vue
index 38c65846b5..2a67b11995 100644
--- a/src/components/ComposerAttachments.vue
+++ b/src/components/ComposerAttachments.vue
@@ -43,6 +43,11 @@
:buttons="attachementPickerButtons"
:filter-fn="filterAttachements"
@close="() => isAttachementPickerOpen = false" />
+
${url}`)
+ } catch (error) {
+ logger.error('could not upload and share file', { error, file })
+ }
+ e.target.value = ''
+ },
+
/**
* Add a forwarded message as an attachment
*