fix: error

This commit is contained in:
手瓜一十雪 2024-06-26 18:40:08 +08:00 committed by GitHub
parent ccf521d0a8
commit bf10ce9f1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
});
}
}
}