-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Badge Environment Name on Thrown Errors from the Server #29846
Merged
Merged
Commits on Jun 26, 2024
-
Encode the environmentName that thrown errors came from
This is attached to our custom Error "sub class" on the receiving side which also includes digest. DEV-only.
Configuration menu - View commit details
-
Copy full SHA for afe92ea - Browse repository at this point
Copy the full SHA afe92eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 153e78b - Browse repository at this point
Copy the full SHA 153e78bView commit details -
Log error/warn to our consoleWithStackDev
This way this helper can use component stacks when available.
Configuration menu - View commit details
-
Copy full SHA for 9ecc408 - Browse repository at this point
Copy the full SHA 9ecc408View commit details -
Add Environment Badge in defaultOnCaughtError Logging
That way your typical log of an error that originated on the Server gets a `[Server]` badge. Unfortunately because defaultOnUncaughtError and defaultOnRecoverableError doesn't use custom logging but goes through reportError. There's no place for us to add this kind of formatted badging to the logs. It's also unfortunate that you'd have to replicate this in user space.
Configuration menu - View commit details
-
Copy full SHA for 12ccf6f - Browse repository at this point
Copy the full SHA 12ccf6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff2b77f - Browse repository at this point
Copy the full SHA ff2b77fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c4047 - Browse repository at this point
Copy the full SHA 11c4047View commit details -
Configuration menu - View commit details
-
Copy full SHA for 016d86b - Browse repository at this point
Copy the full SHA 016d86bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcc2fa6 - Browse repository at this point
Copy the full SHA fcc2fa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 763ae0a - Browse repository at this point
Copy the full SHA 763ae0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d31e852 - Browse repository at this point
Copy the full SHA d31e852View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.