Skip to content

Collecting breadcrumbs in notifications causes TypeError #973

@parshikov

Description

@parshikov

How do you use Sentry?

Self-hosted / on-premises

SDK version

4.10.1

Laravel version

10.48

Steps to reproduce

  • Enable breadcrumbs.notifications in config
  • Send Laravel notification via facade like Notification::send('someidentificator', new SomeNotification()) (I send notification to messenger via channel name)

Expected result

No errors

Actual result

TypeError Sentry\Laravel\Features\NotificationsIntegration::formatNotifiable(): Argument #1 ($notifiable) must be of type object, string given, called in .../vendor/sentry/sentry-laravel/src/Sentry/Laravel/Features/NotificationsIntegration.php on line 72 during handling the NotificationSent event

Metadata

Metadata

Assignees

Labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions