auth icon indicating copy to clipboard operation
auth copied to clipboard

fix: surface custom errors from http hooks

Open JEETDESAI25 opened this issue 2 months ago • 0 comments

HTTP hooks returning 4xx status codes now parse the response body and return custom error messages instead of hardcoded ones like "Invalid payload sent to hook".

This aligns HTTP hook error handling with the PostgreSQL hook dispatcher which already extracts custom errors via hookserrors.Check().

Fixes #2235.

JEETDESAI25 avatar Dec 10 '25 02:12 JEETDESAI25