This is an automated email from the ASF dual-hosted git repository.
fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new c1adbf63c2 [Feature][Zeta] Format exception messages on task running
management page (#9147)
c1adbf63c2 is described below
commit c1adbf63c2363e9af514da0fe27cd06a62836ac1
Author: ocean-zhc <[email protected]>
AuthorDate: Fri Apr 11 17:57:17 2025 +0800
[Feature][Zeta] Format exception messages on task running management page
(#9147)
---
seatunnel-engine/seatunnel-engine-ui/src/views/jobs/detail.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/seatunnel-engine/seatunnel-engine-ui/src/views/jobs/detail.tsx
b/seatunnel-engine/seatunnel-engine-ui/src/views/jobs/detail.tsx
index 941a89b553..f5e7ed12b4 100644
--- a/seatunnel-engine/seatunnel-engine-ui/src/views/jobs/detail.tsx
+++ b/seatunnel-engine/seatunnel-engine-ui/src/views/jobs/detail.tsx
@@ -237,7 +237,9 @@ export default defineComponent({
/>
</NTabPane>
<NTabPane name="Exception" tab="Exception">
- {job.errorMsg}
+ <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;">
+ {job.errorMsg}
+ </pre>
</NTabPane>
<NTabPane name="Configuration" tab="Configuration">
<Configuration data={job.envOptions ||
job.jobDag.envOptions}></Configuration>