mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
print error
This commit is contained in:
parent
89bc6eef86
commit
7a229660f0
@ -35,7 +35,10 @@ const HTTP = {
|
|||||||
});
|
});
|
||||||
res.on('end', () => {
|
res.on('end', () => {
|
||||||
// console.log('No more data in response.');
|
// 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)
|
if (compilerOptions.lazyloadConfig)
|
||||||
{
|
{
|
||||||
resolve(JSON.parse(ret))
|
resolve(JSON.parse(ret))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user