File tree Expand file tree Collapse file tree 3 files changed +1331
-2
lines changed Expand file tree Collapse file tree 3 files changed +1331
-2
lines changed Original file line number Diff line number Diff line change 39
39
" /logger/"
40
40
],
41
41
"testRegex" : " .*\\ .test\\ .tsx?"
42
+ },
43
+ "dependencies" : {
44
+ "@coder/logger" : " ^1.1.3"
42
45
}
43
- }
46
+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import * as path from "path";
4
4
import * as ps from "ps-list" ;
5
5
import * as puppeteer from "puppeteer" ;
6
6
import { ChildProcess , exec } from "child_process" ;
7
+ import { logger , field } from "@coder/logger" ;
7
8
8
9
interface IServerOptions {
9
10
host : string ;
@@ -166,7 +167,7 @@ export class TestServer {
166
167
this . child . once ( "error" , onError ) ;
167
168
if ( this . child . stderr ) {
168
169
this . child . stderr . on ( "data" , async ( chunk ) => {
169
- await onError ( new Error ( chunk ) ) ;
170
+ logger . warn ( "Child wrote to stderr" , field ( "data" , chunk ) ) ;
170
171
} ) ;
171
172
}
172
173
You can’t perform that action at this time.
0 commit comments