Skip to content

Commit f032cbd

Browse files
committed
don’t log max attempts queues
1 parent ce73b7f commit f032cbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bootstrap/app.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@
3737
'body' => substr((string) $e->getResponse()->getBody(), 0, 250)
3838
]);
3939
})->stop();
40+
41+
// We have jobs that will run into max attempts, don't write them to log
42+
$exceptions->dontReport(\Illuminate\Queue\MaxAttemptsExceededException::class);
4043
})->create();

0 commit comments

Comments
 (0)