Skip to content

Commit

Permalink
Fixes misleading embeddable plugin error message
Browse files Browse the repository at this point in the history
Resolves opensearch-project#1479

Signed-off-by: Tommy Markley <[email protected]>
  • Loading branch information
tmarkley committed Dec 7, 2022
1 parent 9d62439 commit 5e63fba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Bumped `del` version to fix MacOS race condition ([#2847](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2873))
- [Build] Fixed "Last Access Time" not being set by `scanCopy` on Windows ([#2964](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2964))
- Update `leaflet-vega` and fix its usage ([#3005](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3005))
- Fixes misleading embaddable plugin error message

### 🚞 Infrastructure

Expand Down
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 @@ -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: `The {type} service encountered an error and is unavailable.`,
values: {
type,
},
Expand Down

0 comments on commit 5e63fba

Please sign in to comment.