Skip to content

Commit

Permalink
Fixes misleading embeddable plugin error message (#3043) (#3153)
Browse files Browse the repository at this point in the history
Resolves #1479
Resolves #3083

Signed-off-by: Tommy Markley <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
(cherry picked from commit bd52024)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anan Zhuang <[email protected]>
  • Loading branch information
3 people authored Jan 25, 2023
1 parent a8e8a35 commit b940086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/embeddable/public/lib/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit b940086

Please sign in to comment.