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

Php updates #11358

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,25 @@ sentry:
max_request_body_size: "medium"
class_serializers:
App\User: "App\\Sentry\\Serializer\\UserSerializer"

messenger:
enabled: true
capture_soft_fails: false

tracing:
enabled: true
dbal:
enabled: true
connections:
- default
twig:
enabled: true
cache:
enabled: true
http_client:
enabled: true
console:
excluded_commands:
- app:command
```

The DSN option is the only required option: it sets the Sentry DSN, and so reports all events to the related project. If it's
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/crons/setup/php.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If your job execution fails, you can notify Sentry about the failure:
// 🔴 Notify Sentry your job has failed:
\Sentry\captureCheckIn(
slug: '<monitor-slug>',
status: CheckInStatus::error()
status: CheckInStatus::error(),
checkInId: $checkInId,
);
```
Expand Down
Loading