Skip to content

Commit 1167424

Browse files
besanekstayallive
authored andcommitted
Fix queue events with missing handler suffix (#322)
1 parent 1a943f5 commit 1167424

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Sentry/Laravel/EventHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ protected function queueJobProcessingHandler(JobProcessing $event)
383383
*
384384
* @param \Illuminate\Queue\Events\JobProcessing $event
385385
*/
386-
protected function queueJobExceptionOccurred(JobExceptionOccurred $event)
386+
protected function queueJobExceptionOccurredHandler(JobExceptionOccurred $event)
387387
{
388388
$this->afterQueuedJob();
389389
}
@@ -393,7 +393,7 @@ protected function queueJobExceptionOccurred(JobExceptionOccurred $event)
393393
*
394394
* @param \Illuminate\Queue\Events\JobProcessing $event
395395
*/
396-
protected function queueJobProcessed(JobProcessed $event)
396+
protected function queueJobProcessedHandler(JobProcessed $event)
397397
{
398398
$this->afterQueuedJob();
399399
}
@@ -403,7 +403,7 @@ protected function queueJobProcessed(JobProcessed $event)
403403
*
404404
* @param \Illuminate\Queue\Events\JobProcessing $event
405405
*/
406-
protected function queueWorkerStopping(WorkerStopping $event)
406+
protected function queueWorkerStoppingHandler(WorkerStopping $event)
407407
{
408408
// Flush any and all events that were possibly generated by queue jobs
409409
Integration::flushEvents();

0 commit comments

Comments
 (0)