这是indexloc提供的服务,不要输入任何密码
Skip to content

Making action webhook debugging easy #4031

@0x777

Description

@0x777

Currently there isn't enough information logged to figure out what went wrong with an action's handler. We'll need to capture the raw http request and response (headers + body) in our internal error's detail, so that they are logged and sent to the client when requested with admin credentials. Maybe something like this along with our current error message?

{
  "request": {"headers": {}, "body": ".."},
  "response": {"headers": {}, "body": ".." }
}

We'll need to be a little careful about logging headers which are derived from environment variables.

Metadata

Metadata

Assignees

Labels

c/actionsRelated to actionsc/serverRelated to server

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions