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 @@ -378,7 +378,7 @@ function () use ($schedule) {
378
378
);
379
379
if (!$ e instanceof \Exception) {
380
380
$ e = new \RuntimeException (
381
- 'Error when running a cron job ' ,
381
+ 'Error when running a cron job: ' . $ e -> getMessage () ,
382
382
0 ,
383
383
$ e
384
384
);
Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ function ($callback) {
619
619
*/
620
620
public function dispatchExceptionInCallbackDataProvider (): array
621
621
{
622
- $ throwable = new TypeError ();
622
+ $ throwable = new TypeError (' Description of TypeError ' );
623
623
return [
624
624
'non-callable callback ' => [
625
625
'Not_Existed_Class ' ,
@@ -642,11 +642,11 @@ public function dispatchExceptionInCallbackDataProvider(): array
642
642
new CronJobException (
643
643
$ throwable
644
644
),
645
- 'Error when running a cron job ' ,
645
+ 'Error when running a cron job: Description of TypeError ' ,
646
646
2 ,
647
647
1 ,
648
648
new \RuntimeException (
649
- 'Error when running a cron job ' ,
649
+ 'Error when running a cron job: Description of TypeError ' ,
650
650
0 ,
651
651
$ throwable
652
652
)
You can’t perform that action at this time.
0 commit comments