From 1d1fb16d5cdc94752bb07edaf19c9d959258992d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 28 Dec 2022 23:44:33 +0000 Subject: [PATCH] Fixes misleading embeddable plugin error message (#3043) Resolves #1479 Resolves #3083 Signed-off-by: Tommy Markley <5437176+tmarkley@users.noreply.github.com> Co-authored-by: Josh Romero (cherry picked from commit bd520245166847628f72838a8f93af679217cdb9) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- src/plugins/embeddable/public/lib/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/plugins/embeddable/public/lib/errors.ts index 6561c463890f..2a261d45c90a 100644 --- a/src/plugins/embeddable/public/lib/errors.ts +++ b/src/plugins/embeddable/public/lib/errors.ts @@ -49,7 +49,7 @@ export class EmbeddableFactoryNotFoundError extends Error { constructor(type: string) { super( i18n.translate('embeddableApi.errors.embeddableFactoryNotFound', { - defaultMessage: `{type} can't be loaded. Please upgrade to the default distribution of OpenSearch and OpenSearch Dashboards with the appropriate license.`, + defaultMessage: `OpenSearch Dashboards can't load "{type}" visualizations. Check for a missing plugin or an incompatible visualization type.`, values: { type, },