feat(webhooks): add script to retry failed webhooks and log results
Introduce a new script to process and retry failed webhooks stored in a designated directory. The script reads JSON files containing webhook payloads and error information, attempts to resend the payloads, and logs the success or failure of each retry. Additionally, it creates a processed directory to organize successfully retried webhooks. This enhances error handling and recovery for webhook failures.
This commit is contained in:
4
.cursor/rules/restart.mdc
Normal file
4
.cursor/rules/restart.mdc
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
alwaysApply: true
|
||||
---
|
||||
the server is always running an can be restarted with pm2 restart 3
|
||||
Reference in New Issue
Block a user