mirror of https://gitgud.io/cncanon/sg-proxy.git
It is an error though
This commit is contained in:
parent
de1050d8dd
commit
5e15932bf8
2
main.js
2
main.js
|
@ -129,7 +129,7 @@ app.post('/v1/complete', async (req, res) => {
|
|||
|
||||
} catch (error) {
|
||||
if (error.response && error.response.status === 429) {
|
||||
console.log("Got a 429 (Too Many Requests), seems like you've hit your ratelimit for the day.");
|
||||
console.error("Got a 429 (Too Many Requests), seems like you've hit your ratelimit for the day.");
|
||||
handleError(res, isStream, "\n**You've hit your ratelimit for the day, use a different account or wait.**")
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue