Push notification on error 500

How to push notification when there's an error instead of showing modal?
4 Replies
awcodes
awcodes3w ago
What’s the error?
fikurimax
fikurimax3w ago
Say just random exception, or timeouts error when calling third party api. Currently it shows a modal with error text 500 internal server error
hyperion-mx
hyperion-mx3w ago
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
fikurimax
fikurimax3w ago
Can I do that in app/Exception/Handler.php? only for specific requests maybe?
Want results from more Discord servers?
Add your server