Merge pull request #6331 from keymanapp/fix/web/stop-masking-error

fix(web): stop masking error
This commit is contained in:
Marc Durdin 2022-03-04 14:51:09 +11:00 committed by GitHub
commit d54075a7bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;