Push notification on error 500

How to push notification when there's an error instead of showing modal?
4 Replies
awcodes
awcodes2mo ago
What’s the error?
fikurimax
fikurimaxOP2mo 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-mx2mo 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
fikurimaxOP2mo ago
Can I do that in app/Exception/Handler.php? only for specific requests maybe?
Want results from more Discord servers?
Add your server