Skip to content

Conversation

@pavelzotikov
Copy link
Contributor

@pavelzotikov pavelzotikov commented Sep 25, 2025

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.

@neSpecc neSpecc requested a review from Copilot September 25, 2025 10:09
Copy link
Contributor

Copilot AI left a 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.

@pavelzotikov pavelzotikov merged commit fa86c6c into master Sep 25, 2025
5 checks passed
@pavelzotikov pavelzotikov deleted the feat/normalize-backtrace branch September 25, 2025 11:18
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.

Event are being sent in a wrong format

3 participants