icingaweb2-module-director/library/Director/Daemon
Johannes Rauh 61f2586e7a
Remove dead FinishedProcessState catch handler
`FinishedProcessState` does not implement `\Throwable`, so `catch(function
(FinishedProcessState $state))` can never trigger in react/promise v3 where
rejection reasons must be `\Throwable`.

This is safe to remove because `IcingaCli` already rejects with an `Exception`
wrapping the process state reason:

```php
$deferred->reject(new Exception($state->getReason()));
```

The existing `catch(\Exception $e)` handler already covers this.

Ref: https://github.com/reactphp/promise/releases/tag/v3.0.0
2026-04-30 15:11:16 +02:00
..
BackgroundDaemon.php Replace Factory::create() with Loop::get() 2026-04-30 15:11:16 +02:00
DaemonDb.php Pass Throwable to reject() 2026-04-30 15:11:16 +02:00
DaemonProcessDetails.php Daemon: new implementation 2019-09-25 12:10:08 +02:00
DaemonProcessState.php Director: some fixes for PHP v8.1 2021-11-24 11:56:18 +01:00
DaemonUtil.php Daemon: new implementation 2019-09-25 12:10:08 +02:00
DbBasedComponent.php Replace ExtendedPromiseInterface with PromiseInterface 2026-04-30 15:11:15 +02:00
DeploymentChecker.php Pass null to resolve() and Deferred::resolve() 2026-04-30 15:11:15 +02:00
JobRunner.php Remove dead FinishedProcessState catch handler 2026-04-30 15:11:16 +02:00
JsonRpcLogWriter.php Daemon: new implementation 2019-09-25 12:10:08 +02:00
Logger.php Daemon Logger: do not override given log level 2020-06-06 23:29:31 +02:00
LogProxy.php Pass null to resolve() and Deferred::resolve() 2026-04-30 15:11:15 +02:00
ProcessList.php Pass null to resolve() and Deferred::resolve() 2026-04-30 15:11:15 +02:00
RunningDaemonInfo.php Daemon: new implementation 2019-09-25 12:10:08 +02:00
SystemdLogWriter.php Daemon: new implementation 2019-09-25 12:10:08 +02:00