From f633174f9f1691df0843dd47da31b53568efdb55 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Fri, 4 Mar 2022 11:44:54 +1100 Subject: [PATCH] fix(web): stop masking error We are seeing this error thrown in some logs but it masks the underlying error. --- web/source/keyboards/kmwkeyboards.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/source/keyboards/kmwkeyboards.ts b/web/source/keyboards/kmwkeyboards.ts index 17b2b18091..3fa42de125 100644 --- a/web/source/keyboards/kmwkeyboards.ts +++ b/web/source/keyboards/kmwkeyboards.ts @@ -484,7 +484,7 @@ namespace com.keyman.keyboards { // // In case p's rejection is never caught, throwing this error will generate logs that shows up // in Sentry or in the console, with useful information for debugging either way. - throw new Error("Unable to load keyboard with internal name \"" + PInternalName + "\", language code \"" + PLgCode + "\"."); + throw new Error("Unable to load keyboard with internal name \"" + PInternalName + "\", language code \"" + PLgCode + "\": "+JSON.stringify(error)); }); return p;