-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[11.x] Improves errors #51261
[11.x] Improves errors #51261
Conversation
src/Illuminate/Foundation/resources/exceptions/renderer/components/card.blade.php
Show resolved
Hide resolved
$events->listen(QueryExecuted::class, [$this, 'onQueryExecuted']); | ||
|
||
if (isset($_SERVER['LARAVEL_OCTANE'])) { | ||
$events->listen([RequestReceived::class, TaskReceived::class, TickReceived::class, RequestTerminated::class], function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nunomaduro does this need to also reset on any job events?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've replicated what ignition is doing: https://github.com/spatie/laravel-ignition/blob/9c60d929a91803dee7e47614c37cbe6d3f2b1e2c/src/IgnitionServiceProvider.php#L311C1-L311C43.
@nunomaduro I think this is good pending those weird HTML formatting things I pointed out and single comment above. |
src/Illuminate/Foundation/Providers/FoundationServiceProvider.php
Outdated
Show resolved
Hide resolved
4e1409e
to
130e6eb
Compare
I've got failing tests over in rebing/graphql-laravel#1137 (automated weekly) I think it's related to this PR, because it fails on a class which was introduced here. Any ideas? |
@mfn gonna be super hard to deduct what's going on without more info. Best that you attempt a minimum repro example with the installer: laravel new bug-report --github="--public" |
The minimal reproducer is:
It didn't fail before, now with the latest L11 version it does. I.e. the test matrix with |
I'm sorry @mfn but we can't go off on a third party repo. We'll need a clear way to reproduce this in a Laravel project. |
No worries, I figured it out! It was a improper use of testbench to configure my test: I was setting |
@nunomaduro I am missing two functionalities I pretty much appreciated before:
Before I am going to dig: should these features work or were they left out intantionaly? |
No description provided.