diff --git a/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx b/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx index d37419f1a..dbafc5ca6 100644 --- a/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx +++ b/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx @@ -28,7 +28,11 @@ export const ExecutionNodeDeck: React.FC<{ 'allow-downloads', ].join(' '); - if (downloadLink?.lastError instanceof NotFoundError) { + /** + * if the download link query has an error other than 404, we show a 'pretty' message to the user. + * else: we show the built in DataError handler passed to the WaitForQuery component. + */ + if (downloadLink?.lastError && !(downloadLink?.lastError instanceof NotFoundError)) { return (

The deck will be ready soon. Please try again later.

@@ -44,6 +48,7 @@ export const ExecutionNodeDeck: React.FC<{ ); } + // 404 or no error case return (