From 3e47fa67a5a087e0113525cde67ade3c862813e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 28 Dec 2022 23:44:26 +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 8a5b3b0717b8..d6e159d17a60 100644 --- a/src/plugins/embeddable/public/lib/errors.ts +++ b/src/plugins/embeddable/public/lib/errors.ts @@ -51,7 +51,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, },