Skip to content

Commit c1adbf6

Browse files
authored
[Feature][Zeta] Format exception messages on task running management page (#9147)
1 parent 9106a83 commit c1adbf6

File tree

1 file changed

+3
-1
lines changed
  • seatunnel-engine/seatunnel-engine-ui/src/views/jobs

1 file changed

+3
-1
lines changed

seatunnel-engine/seatunnel-engine-ui/src/views/jobs/detail.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ export default defineComponent({
237237
/>
238238
</NTabPane>
239239
<NTabPane name="Exception" tab="Exception">
240-
{job.errorMsg}
240+
<pre style="white-space: pre-wrap; word-wrap: break-word; background-color: #f5f5f5; padding: 12px; border-radius: 4px; overflow: auto; max-height: 600px; font-family: monospace; line-height: 1.5;">
241+
{job.errorMsg}
242+
</pre>
241243
</NTabPane>
242244
<NTabPane name="Configuration" tab="Configuration">
243245
<Configuration data={job.envOptions || job.jobDag.envOptions}></Configuration>

0 commit comments

Comments
 (0)