if (this.throwErrors) throw new Error(err.message);
^
Error: Error sending webhook: 404 status code. Response: {"message": "Unknown Webhook", "code": 10015}
at Webhook.send (C:\Users\Draco\Desktop\Programs\Github Projects\Discord Bots\BeamBot\node_modules\discord-webhook-node\src\classes\webhook.js:74:41)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The above error is a result of a bad webhook being passed in I have a try catch around the bit of code that throws this error but it fails to catch and continues to throw this error instead of going through my handling.
The above error is a result of a bad webhook being passed in I have a try catch around the bit of code that throws this error but it fails to catch and continues to throw this error instead of going through my handling.