fix: error

This commit is contained in:
手瓜一十雪 2024-06-26 18:40:08 +08:00 committed by GitHub
parent 64165e256b
commit bfdb8496f2

View File

@ -44,6 +44,9 @@ export class RequestUtil {
});
}
});
req.on('error', (error: any) => {
reject(error);
});
});
}
@ -187,4 +190,4 @@ export class RequestUtil {
return undefined;
});
}
}
}