diff --git a/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx b/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx
index bbef27b9e1ba8..6abae7a0a0845 100644
--- a/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx
+++ b/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx
@@ -127,25 +127,6 @@ export const renderStructuredLog = ({
return "";
}
- elements.push(
-
- {index}
- ,
- );
-
if (Boolean(timestamp)) {
elements.push("[", , "] ");
}
@@ -179,20 +160,20 @@ export const renderStructuredLog = ({
));
return (
-
-
+
+
{error.exc_type}: {error.exc_value}
-
+
{errorLines}
-
+
);
});
}
elements.push(
-
+
{addLinks(event)}
,
);
@@ -209,14 +190,33 @@ export const renderStructuredLog = ({
}
elements.push(
-
+
{details}
,
);
return (
-
- {elements}
+
+
+ {index}
+
+
+ {elements}
+
);
};