Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix error message display

Smaug6739f8a32396b255
diff --git a/frontend/app/components/Error.vue b/frontend/app/components/Error.vue
index 31669271..d9474ae9 100644
--- a/frontend/app/components/Error.vue
+++ b/frontend/app/components/Error.vue
@@ -23,7 +23,7 @@ const handleError = computed(() => {
if (props.error === 'Failed to fetch' || props.error === 'TypeError: Failed to fetch') return 'Network error, please check your connection.';
if (props.error === 'Request failed with status code 404') return 'The requested resource was not found.';
if (props.error === 'Request failed with status code 500') return 'Internal server error, please try again later.';
- return 'An unexpected error has occurred.';
+ return props.error || 'An unexpected error has occurred.';
});
</script>