diff --git a/src/BowlerServiceProvider.php b/src/BowlerServiceProvider.php index f858a97..5453d85 100644 --- a/src/BowlerServiceProvider.php +++ b/src/BowlerServiceProvider.php @@ -50,6 +50,14 @@ public function register() return $app['vinelab.bowler.registrator']; }); + $this->app->bind(BowlerExceptionHandler::class, function ($app) { + return new BowlerExceptionHandler( + $app->make(ExceptionHandler::class), + $app->make('log'), + $app->make('config') + ); + }); + $this->app->bind(Connection::class, function () { // Bind connection to env configuration $rbmqHost = config('bowler.rabbitmq.host');