We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f48872 commit 6783713Copy full SHA for 6783713
src/Sentry/Laravel/Features/ConsoleSchedulingIntegration.php
@@ -136,7 +136,8 @@ public function useCacheStore(?string $name): void
136
137
public function handleScheduledTaskStarting(ScheduledTaskStarting $event): void
138
{
139
- if (!$event->task) {
+ // There is nothing for us to track if it's a background task since it will be handled by a separate process
140
+ if (!$event->task || $event->task->runInBackground) {
141
return;
142
}
143
0 commit comments