elevate-digital / slack-exception-logger
There is no license information available for the latest version (dev-master) of this package.
Laravel packge to log exceptions to slack.
dev-master
2019-01-30 10:22 UTC
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); }