elevate-digital / slack-exception-logger
Laravel packge to log exceptions to slack.
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 438
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/elevate-digital/slack-exception-logger
Requires
This package is not auto-updated.
Last update: 2021-11-07 17:28:31 UTC
README
Add this to your report method in app\Exceptions\Handler.php
public function report(Exception $exception) { if ($this->shouldReport($exception)){ (new SlackExceptionLogger())->log(YOUR_SLACK_WEBHOOK, $exception); } parent::report($exception); }