From fbdc0100a4c021538084615ca449f935032fb025 Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Wed, 26 Aug 2020 18:40:01 +0200 Subject: [PATCH] fix: improve syncing exception user message --- app/assets/javascripts/strings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/strings.ts b/app/assets/javascripts/strings.ts index c05e011da..0796e92ec 100644 --- a/app/assets/javascripts/strings.ts +++ b/app/assets/javascripts/strings.ts @@ -3,7 +3,7 @@ export const STRING_SESSION_EXPIRED = "Your session has expired. New changes wil export const STRING_DEFAULT_FILE_ERROR = "Please use FileSafe or the Bold Editor to attach images and files. Learn more at standardnotes.org/filesafe."; export const STRING_GENERIC_SYNC_ERROR = "There was an error syncing. Please try again. If all else fails, try signing out and signing back in."; export function StringSyncException(data: any) { - return `There was an error while trying to save your items. Please contact support and share this message: ${data}.`; + return `There was an error while trying to save your items. Please contact support and share this message: ${JSON.stringify(data)}.`; } /** @footer */