From 7a229660f02e800fc3bfe005ed9251bd6526d993 Mon Sep 17 00:00:00 2001 From: msojocs Date: Sat, 6 Jul 2024 22:53:50 +0800 Subject: [PATCH] print error --- test/runner/module-windows.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/runner/module-windows.ts b/test/runner/module-windows.ts index c7b15a1..394f8c1 100644 --- a/test/runner/module-windows.ts +++ b/test/runner/module-windows.ts @@ -35,7 +35,10 @@ const HTTP = { }); res.on('end', () => { // console.log('No more data in response.'); - console.log('end:', ret?.substring(0, 10)) + if (ret?.startsWith('server error')) + { + console.log('error:', ret) + } if (compilerOptions.lazyloadConfig) { resolve(JSON.parse(ret))