Update src/main/utils/http.ts

Co-authored-by: rushii <33725716+rushiiMachine@users.noreply.github.com>
This commit is contained in:
Michal Vaniš 2024-03-10 20:16:23 +01:00 committed by GitHub
parent 760cc2d718
commit dcf1154e70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,6 @@ export async function simpleGet(url: string, options: RequestOptions = {}) {
res.once("end", () => resolve(Buffer.concat(chunks)));
});
} catch (e) {
console.log(e);
console.error(e);
}
}