luckfire
SIASapphire - Imagine a framework
•Created by luckfire on 11/2/2024 in #sapphire-support
Scheduled Task Does Not Remove on Fail
Alrighty, thanks for the clearing things up for me, appreciate it
10 replies
SIASapphire - Imagine a framework
•Created by luckfire on 11/2/2024 in #sapphire-support
Scheduled Task Does Not Remove on Fail
Ah alright, I assumed that adding
removeOnFail
to custom job options would make bull handle it automatically since that's how it's stated in their docs (unless I misunderstood them), but I can write something to handle it, was just confused on why it wasn't working 😅10 replies
SIASapphire - Imagine a framework
•Created by luckfire on 11/2/2024 in #sapphire-support
Scheduled Task Does Not Remove on Fail
In
IncrementVoiceActivity.ts
, just wherever it throws a new error
for example: if (!list.includes(payload.memberId)) throw new Error('Member no longer connected.');
, i'd expect it to remove after something like this10 replies