Skip to content

Commit

Permalink
Fix translation (elastic#190504)
Browse files Browse the repository at this point in the history
Not sure why CI didn't fail in the [main
PR](elastic#190031), but it did in the
[backport](elastic#190494) 🤔
  • Loading branch information
maryam-saeidi authored Aug 14, 2024
1 parent f74d479 commit 5ce3611
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export const validateKQLStringFilter = (value: string) => {
});
} catch (e) {
return i18n.translate('xpack.observability.customThreshold.rule.schema.invalidFilterQuery', {
defaultMessage: `filterQuery must be a valid KQL filter (error: ${e.message})`,
defaultMessage: 'filterQuery must be a valid KQL filter (error: {errorMessage})',
values: { errorMessage: e?.message },
});
}
};
Expand Down

0 comments on commit 5ce3611

Please sign in to comment.