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

Add "wderrid" error IDs to opaque "internal error" exceptions #3452

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

jclee
Copy link
Contributor

@jclee jclee commented Feb 3, 2025

...to make it easier to correlate internal error logs with user error reports.

@jclee jclee force-pushed the jlee/internal-error-ids branch from 1ef3224 to b68407d Compare February 5, 2025 15:06
@jclee jclee marked this pull request as ready for review February 5, 2025 16:15
@jclee jclee requested review from a team as code owners February 5, 2025 16:15
@jclee jclee force-pushed the jlee/internal-error-ids branch from f2d6955 to 82d3fed Compare February 5, 2025 23:09
@jclee
Copy link
Contributor Author

jclee commented Feb 5, 2025

Updated to fix v8StrIntern() -> v8Str() occurrence, and also fix lint.

https://github.com/cloudflare/workerd/compare/b68407db..82d3fed42b5f2e8b29889426d12fd4acb766d834

...to make it easier to correlate internal error logs with user error reports.
...and only render internal error reference IDs in user-facing "internal error"
exceptions if autogate is enabled.
@jclee jclee force-pushed the jlee/internal-error-ids branch from 82d3fed to 51123f6 Compare February 7, 2025 20:12
@jclee
Copy link
Contributor Author

jclee commented Feb 7, 2025

Put new behavior behind autogate (51123f6), rebased

@jclee jclee merged commit 6d7815a into main Feb 7, 2025
18 checks passed
@jclee jclee deleted the jlee/internal-error-ids branch February 7, 2025 21:33
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.

3 participants