Skip to content

refactor: standardize error handling in createHookHandler#70

Merged
soulteary merged 1 commit intomainfrom
hook-file-fix
Jan 6, 2026
Merged

refactor: standardize error handling in createHookHandler#70
soulteary merged 1 commit intomainfrom
hook-file-fix

Conversation

@soulteary
Copy link
Copy Markdown
Owner

Replaced direct HTTP response handling with a unified error handling function to improve consistency and clarity in error responses. This change enhances logging and error reporting for various scenarios, including hook not found, method not allowed, and request body parsing errors, while maintaining backward compatibility.

Replaced direct HTTP response handling with a unified error handling function to improve consistency and clarity in error responses. This change enhances logging and error reporting for various scenarios, including hook not found, method not allowed, and request body parsing errors, while maintaining backward compatibility.
@soulteary soulteary merged commit 42dd3ee into main Jan 6, 2026
2 checks passed
@soulteary soulteary deleted the hook-file-fix branch January 6, 2026 18:10
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