Skip to content

Enhance webhook error handling, logging, and payload normalization#39

Open
yytvoo wants to merge 9 commits intobestruirui:mainfrom
yytvoo:main
Open

Enhance webhook error handling, logging, and payload normalization#39
yytvoo wants to merge 9 commits intobestruirui:mainfrom
yytvoo:main

Conversation

@yytvoo
Copy link
Copy Markdown

@yytvoo yytvoo commented Apr 22, 2026

Enhance webhook error handling, logging, and payload normalization

yytvoo added 9 commits April 22, 2026 09:14
Refactor webhook error handling and improve logging.
Refactor webhook and Telegram message checks to trim whitespace from types.
Include the webhook payload in the log message when sending a webhook.
Increase timeout for webhook fetch request and improve error handling.
Refactor payload normalization to handle over-escaped quotes more effectively.
Refactor template replacement logic to use a separate replacer function for clarity and maintainability.
Removed the normalizePayload function and directly used the payload in the fetch request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant