From d8e27eaab49d4c91dbec5e7e68a8a89bcb02b141 Mon Sep 17 00:00:00 2001 From: Vadim Ogievetsky Date: Thu, 8 Dec 2022 13:18:35 -0800 Subject: [PATCH] update error anchors (#13527) --- web-console/src/links.ts | 2 +- .../__snapshots__/execution-error-pane.spec.tsx.snap | 2 +- .../execution-error-pane/execution-error-pane.tsx | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web-console/src/links.ts b/web-console/src/links.ts index d9bd341d4f6..33b58a8acc3 100644 --- a/web-console/src/links.ts +++ b/web-console/src/links.ts @@ -84,7 +84,7 @@ export function getLink(linkName: LinkNames): string { case 'DOCS_API': return `${links.docsHref}/operations/api-reference.html`; case 'DOCS_MSQ_ERROR': - return `${links.docsHref}/multi-stage-query/concepts.html#error-codes`; + return `${links.docsHref}/multi-stage-query/reference.html`; case 'COMMUNITY': return links.communityHref; case 'SLACK': diff --git a/web-console/src/views/workbench-view/execution-error-pane/__snapshots__/execution-error-pane.spec.tsx.snap b/web-console/src/views/workbench-view/execution-error-pane/__snapshots__/execution-error-pane.spec.tsx.snap index de73ea9dc9a..025c9a29463 100644 --- a/web-console/src/views/workbench-view/execution-error-pane/__snapshots__/execution-error-pane.spec.tsx.snap +++ b/web-console/src/views/workbench-view/execution-error-pane/__snapshots__/execution-error-pane.spec.tsx.snap @@ -9,7 +9,7 @@ exports[`ExecutionErrorPane matches snapshot 1`] = ` className="error-message-text" > TooManyWarnings diff --git a/web-console/src/views/workbench-view/execution-error-pane/execution-error-pane.tsx b/web-console/src/views/workbench-view/execution-error-pane/execution-error-pane.tsx index b0368534cc9..967cea3b0ef 100644 --- a/web-console/src/views/workbench-view/execution-error-pane/execution-error-pane.tsx +++ b/web-console/src/views/workbench-view/execution-error-pane/execution-error-pane.tsx @@ -46,7 +46,9 @@ export const ExecutionErrorPane = React.memo(function ExecutionErrorPane(

{error.errorCode && ( <> - {error.errorCode} + + {error.errorCode} + {': '} )}