-
Notifications
You must be signed in to change notification settings - Fork 4
Normalize stacktraces and sanitize data for safer storage #70
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces stacktrace normalization and data sanitization utilities to ensure safer and more consistent error payloads before server storage, addressing issue #39.
- Adds comprehensive stacktrace normalization to standardize frame formats and handle various input types
- Implements data sanitization for MongoDB compatibility by transforming problematic keys and values
- Updates GitHub Actions cache version for improved CI reliability
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/EventPayloadBuilder.php | Adds three new methods for stacktrace normalization, key sanitization, and JSON transformation |
| .github/workflows/ci.yaml | Updates cache action from v2 to v4 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…eam/hawk.php into feat/normalize-backtrace
Resolves #39.
This PR adds stacktrace normalization and data sanitization utilities to ensure safer and more consistent error payloads before storing them on the server.