the code that reproduces this issue or a replay of the bug
Unhandled Rejection at: Promise {
Error: RemixApi failed with status 429
at onmodal (/midjourney-api/src/midjourney.ts:307:23)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.onmodal (/midjourney-api/src/discord.ws.ts:548:23)
### Describe the bug
**Describe the bug**
can not catch RemixApi failed with status 429.
**Expected behavior**
Hope to catch this exception through try-catch. like
try{
const Variation = await client.Variation({
....
}catch(err){
}
**Screenshots**
Unhandled Rejection at: Promise {
Error: RemixApi failed with status 429
at onmodal (/midjourney-api/src/midjourney.ts:307:23)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.onmodal (/midjourney-api/src/discord.ws.ts:548:23)
### error log
Unhandled Rejection at: Promise {
Error: RemixApi failed with status 429
at onmodal (/midjourney-api/src/midjourney.ts:307:23)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.onmodal (/midjourney-api/src/discord.ws.ts:548:23)
the code that reproduces this issue or a replay of the bug
Unhandled Rejection at: Promise {