Push notification on error 500
How to push notification when there's an error instead of showing modal?
4 Replies
What’s the error?
Say just random exception, or timeouts error when calling third party api. Currently it shows a modal with error text 500 internal server error
where ever you except an error that is outside the scope of laravel or filament you just use try/catch block, and send notification when you catch an error
Can I do that in app/Exception/Handler.php? only for specific requests maybe?