File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ const BenchmarkDetail = ({
78
78
result = (
79
79
< Result
80
80
status = { jobData . status }
81
+ message = { jobData . message }
82
+ error = { jobData . error }
81
83
stderr = { jobData . stderr }
82
84
stdout = { jobData . stdout }
83
85
execDuration = { jobData . execDuration }
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ export default function Example() {
30
30
result = (
31
31
< Result
32
32
status = { jobData . status }
33
+ message = { jobData . message }
34
+ error = { jobData . error }
33
35
stdout = { jobData . stdout }
34
36
stderr = { jobData . stderr }
35
37
execDuration = { jobData . execDuration }
Original file line number Diff line number Diff line change @@ -2,13 +2,17 @@ import React from 'react';
2
2
3
3
interface LayoutProps {
4
4
status : string ;
5
+ message : string ;
6
+ error : string ;
5
7
stdout ?: string ;
6
8
stderr ?: string ;
7
9
execDuration ?: number ;
8
10
}
9
11
10
12
const Result : React . FC < LayoutProps > = ( {
11
13
status,
14
+ message,
15
+ error,
12
16
stdout,
13
17
stderr,
14
18
execDuration,
@@ -18,11 +22,17 @@ const Result: React.FC<LayoutProps> = ({
18
22
< b > Status: </ b >
19
23
{ status }
20
24
< br />
25
+ < b > Message: </ b >
26
+ { message }
27
+ < br />
28
+ < b > Error: </ b >
29
+ { error }
30
+ < br />
21
31
< b > Stdout: </ b >
22
32
< pre > { stdout } </ pre >
23
33
< b > Stderr: </ b >
24
34
< pre > { stderr } </ pre >
25
- < b > Execution duration (milliseconds ): </ b >
35
+ < b > Execution duration (μs ): </ b >
26
36
< pre > { execDuration } </ pre >
27
37
</ div >
28
38
) ;
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ function useProcessInterval({
58
58
} : {
59
59
data : {
60
60
status : string ;
61
+ message : string ;
62
+ error : string ;
61
63
stdout : string ;
62
64
stderr : string ;
63
65
execDuration : number ;
You can’t perform that action at this time.
0 commit comments