diff --git a/packages/web-app-files/src/components/AppBar/CreateAndUpload.vue b/packages/web-app-files/src/components/AppBar/CreateAndUpload.vue index 7cf25f07138..794ad4992d4 100644 --- a/packages/web-app-files/src/components/AppBar/CreateAndUpload.vue +++ b/packages/web-app-files/src/components/AppBar/CreateAndUpload.vue @@ -302,8 +302,7 @@ export default defineComponent({ } }, - onFileError(error) { - console.error(error) + onFileError(file) { this.showMessage({ title: this.$gettext('Failed to upload'), status: 'danger' diff --git a/packages/web-runtime/src/components/UploadInfo.vue b/packages/web-runtime/src/components/UploadInfo.vue index 1f743264f9a..8c2894fcb09 100644 --- a/packages/web-runtime/src/components/UploadInfo.vue +++ b/packages/web-runtime/src/components/UploadInfo.vue @@ -1,6 +1,6 @@