'how to send error emails to the developer in laravel 8 App
I am using laravel "laravel/framework": "^8.75"
version.
When deployed the app turn APP_DEBUG=false but users get errors but they can not know what is wrong and me to I don't know because I tested it but my trial go through without an error.
I need to receive an email of any error exceptions that are thrown on the app in details like APP_DEBUG=true.
All the solutions I have found are of other versions whose App\Exceptions\Handler
is having report()
and render()
classes yet here I have
public function register(){
$this->reportable(function (Throwable $e) {
//
});
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|