Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Include the server request id in the error shown by Pavex CLI, if relevant #394

Open
LukeMathWalker opened this issue Dec 12, 2024 · 0 comments
Labels
diagnostics enhancement New feature or request good first issue Good for newcomers p-pavex-cli

Comments

@LukeMathWalker
Copy link
Owner

LukeMathWalker commented Dec 12, 2024

https://api.pavex.dev will always populate the X-Server-Request-Id header whenever it returns a response. It looks like sri-xxxx, since it's built on ServerRequestId.
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostics enhancement New feature or request good first issue Good for newcomers p-pavex-cli
Projects
None yet
Development

No branches or pull requests

1 participant