Skip to content

Commit

Permalink
feat: add ErrorExceptionHandler and ResumeExitCoordinatorListener to …
Browse files Browse the repository at this point in the history
…default listeners
  • Loading branch information
albertcht committed Dec 1, 2024
1 parent 85f7fc1 commit 990a27d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/foundation/src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
namespace SwooleTW\Hyperf\Foundation;

use Hyperf\Contract\ApplicationInterface;
use Hyperf\Coordinator\Listener\ResumeExitCoordinatorListener;
use Hyperf\ExceptionHandler\Listener\ErrorExceptionHandler;
use SwooleTW\Hyperf\Foundation\Console\ApplicationFactory;
use SwooleTW\Hyperf\Foundation\Console\Commands\ServerReloadCommand;
use SwooleTW\Hyperf\Foundation\Console\Commands\VendorPublishCommand;
Expand All @@ -25,6 +27,8 @@ public function __invoke(): array
ExceptionHandlerContract::class => ExceptionHandler::class,
],
'listeners' => [
ErrorExceptionHandler::class,
ResumeExitCoordinatorListener::class,
ReloadDotenvAndConfig::class,
],
'commands' => [
Expand Down

0 comments on commit 990a27d

Please sign in to comment.