diff --git a/core/src/components/PublicPageMenu/PublicPageMenuExternalDialog.vue b/core/src/components/PublicPageMenu/PublicPageMenuExternalDialog.vue index e6486dd2c7783..653fb2fcad38a 100644 --- a/core/src/components/PublicPageMenu/PublicPageMenuExternalDialog.vue +++ b/core/src/components/PublicPageMenu/PublicPageMenuExternalDialog.vue @@ -81,7 +81,7 @@ async function createFederatedShare() { window.location.href = `${window.location.protocol}//${data.remoteUrl}` } } catch (error) { - logger.error(error as Error) + logger.error("Failed to create federated share", { error }) showError(t('files_sharing', 'Failed to add the public link to your Nextcloud')) } finally { loading.value = false