File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ function () use ($schedule) {
366
366
);
367
367
if (!$ e instanceof \Exception) {
368
368
$ e = new \RuntimeException (
369
- 'Error when running a cron job ' ,
369
+ 'Error when running a cron job: ' . $ e -> getMessage () ,
370
370
0 ,
371
371
$ e
372
372
);
Original file line number Diff line number Diff line change @@ -617,7 +617,7 @@ function ($callback) {
617
617
*/
618
618
public function dispatchExceptionInCallbackDataProvider (): array
619
619
{
620
- $ throwable = new TypeError ();
620
+ $ throwable = new TypeError (' Description of TypeError ' );
621
621
return [
622
622
'non-callable callback ' => [
623
623
'Not_Existed_Class ' ,
@@ -640,11 +640,11 @@ public function dispatchExceptionInCallbackDataProvider(): array
640
640
new CronJobException (
641
641
$ throwable
642
642
),
643
- 'Error when running a cron job ' ,
643
+ 'Error when running a cron job: Description of TypeError ' ,
644
644
2 ,
645
645
1 ,
646
646
new \RuntimeException (
647
- 'Error when running a cron job ' ,
647
+ 'Error when running a cron job: Description of TypeError ' ,
648
648
0 ,
649
649
$ throwable
650
650
)
You can’t perform that action at this time.
0 commit comments