Replies: 5 comments 1 reply
-
I had the same problem. I solved it. I fired up my old custom handler in bootstrap\app.php like this:
|
Beta Was this translation helpful? Give feedback.
-
Laravel 11 should had simplified things not complicate them... |
Beta Was this translation helpful? Give feedback.
-
Laravel makes it easier when you have a version 11 application structure rather than older ones. |
Beta Was this translation helpful? Give feedback.
-
I just upgrade v10 to v11. I create a v11 example and replicate that in my project and is working well. I have another issue but is other story. |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
How would you extend the
withExceptions
callback inbootstrap/app.php
from a service provider, e.g. from a package?In Laravel <= 10 you would just extend your local ExceptionHandler from the packaged one. How can you add something like
$exceptions->report(fn (Throwable $e) => Mail::send(new Exception($e)));
to the callback?Beta Was this translation helpful? Give feedback.
All reactions