File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ type DeploymentErrorProps = {
9
9
10
10
export function DeploymentError ( { errorData } : DeploymentErrorProps ) {
11
11
return (
12
- < div className = "flex flex-col gap-2 rounded-sm border border-rose-500/50 p-3" >
12
+ < div className = "mx-3 mb-3 flex flex-col gap-2 rounded-sm border border-rose-500/50 p-3" >
13
13
< DeploymentErrorHeader title = { errorData . name ?? "Error" } titleClassName = "text-rose-500" />
14
14
{ errorData . message && < Callout variant = "error" > { errorData . message } </ Callout > }
15
15
{ errorData . stack && (
@@ -18,6 +18,7 @@ export function DeploymentError({ errorData }: DeploymentErrorProps) {
18
18
showLineNumbers = { false }
19
19
code = { errorData . stack }
20
20
maxLines = { 20 }
21
+ showTextWrapping
21
22
/>
22
23
) }
23
24
{ errorData . stderr && (
@@ -28,6 +29,7 @@ export function DeploymentError({ errorData }: DeploymentErrorProps) {
28
29
showLineNumbers = { false }
29
30
code = { errorData . stderr }
30
31
maxLines = { 20 }
32
+ showTextWrapping
31
33
/>
32
34
</ >
33
35
) }
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export function PacketDisplay({
50
50
code = { data }
51
51
maxLines = { 20 }
52
52
showLineNumbers = { false }
53
+ showTextWrapping
53
54
/>
54
55
) ;
55
56
}
Original file line number Diff line number Diff line change @@ -758,12 +758,12 @@ function RunBody({
758
758
</ div >
759
759
) : tab === "context" ? (
760
760
< div className = "flex flex-col gap-4 py-3" >
761
- < CodeBlock code = { run . context } showLineNumbers = { false } />
761
+ < CodeBlock code = { run . context } showLineNumbers = { false } showTextWrapping />
762
762
</ div >
763
763
) : tab === "metadata" ? (
764
764
< div className = "flex flex-col gap-4 py-3" >
765
765
{ run . metadata ? (
766
- < CodeBlock code = { run . metadata } showLineNumbers = { false } />
766
+ < CodeBlock code = { run . metadata } showLineNumbers = { false } showTextWrapping />
767
767
) : (
768
768
< Callout to = "https://trigger.dev/docs/runs/metadata" variant = "docs" >
769
769
No metadata set for this run. View our metadata documentation to learn more.
You can’t perform that action at this time.
0 commit comments