-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[exception] v3 - do not serialize stack by default #873
Conversation
🦋 Changeset detectedLatest commit: a09327d The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #873 +/- ##
==========================================
- Coverage 93.13% 92.90% -0.23%
==========================================
Files 96 96
Lines 670 677 +7
Branches 188 193 +5
==========================================
+ Hits 624 629 +5
- Misses 40 42 +2
Partials 6 6
|
Stack traces won't be serialized anymore by default as they might contain sensitive information in production.
For development or logging, it's possible to opt-in stack serialization selectively in
convertToSerializable
,createFromSerializable
,toJson
andfromJson
functions thanks to theSerializerParams.includeStack
param.