fix: error

This commit is contained in:
手瓜一十雪 authored and GitHub committed 2024-06-26 18:40:08 +08:00
1 parent 64165e256b
commit bfdb8496f2
1 file changed
+4 -1
+4 -1
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;
});
}
}
}