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