Skip to content

Commit 521e932

Browse files
committed
fix i18n
1 parent b7d33a7 commit 521e932

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

x-pack/plugins/lens/public/editor_frame_service/error_helper.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ export function getOriginalRequestErrorMessage(error?: ExpressionRenderError | n
4242
if (rootError.reason && rootError.type) {
4343
return i18n.translate('xpack.lens.editorFrame.expressionFailureMessage', {
4444
defaultMessage: 'Request error: {type}, {reason}',
45-
values: rootError,
45+
values: {
46+
reasion: rootError.reason,
47+
type: rootError.type,
48+
},
4649
});
4750
}
4851
}

0 commit comments

Comments
 (0)