feat: Include the server request id in the error shown by Pavex CLI, if relevant #394
Labels
diagnostics
Improvement or issue with Pavex's CLI diagnostics.
enhancement
New feature or request
good first issue
Good for newcomers
p-pavex-cli
Issue related to `pavex` or `pavexc`, Pavex's CLIs.
https://api.pavex.dev will always populate the
X-Server-Request-Id
header whenever it returns a response. It looks likesri-xxxx
, since it's built onServerRequestId
.Pavex's CLI should include that request id whenever it exposes an error to the user that traces back to a failed request to the API. This allows the user to communicate that id back to us when triaging the issue, thus speeding up resolution.
The text was updated successfully, but these errors were encountered: