|
...
|
...
|
@@ -2,8 +2,8 @@ |
|
|
|
|
|
|
|
namespace Lackoxygen\ExceptionPush;
|
|
|
|
|
|
|
|
use Illuminate\Contracts\Debug\ExceptionHandler;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
use Lackoxygen\ExceptionPush\Contracts\ExceptionHandler;
|
|
|
|
use Lackoxygen\ExceptionPush\Exception\Handler;
|
|
|
|
|
|
|
|
class ExceptionPushProvider extends ServiceProvider
|
|
...
|
...
|
@@ -13,6 +13,6 @@ class ExceptionPushProvider extends ServiceProvider |
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
$this->app->singleton(ExceptionHandler::class, Handler::class);
|
|
|
|
$this->app->singleton('exception.push', ExceptionHandler::class);
|
|
|
|
$this->app->singleton('exception.push', ExceptionPush::class);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|