refactor: enhance error reporting and logging, add installer script

- Update `LogReporter` and `Reporter` interface to handle `Throwable` instead of `string`
- Simplify initializer discovery message in `ClassNotInstantiable` exceptions
- Remove unnecessary debug logs in `HttpRouter`
- Add `scripts/install-aliases.sh` for setting up console aliases
- Add minimal `console` script for Docker execution
This commit is contained in:
2025-11-03 14:21:10 +01:00
parent 1109b0f94b
commit bc7cdf5fed
7 changed files with 200 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ final readonly class ErrorKernel
{
$log = new LogReporter();
$log->report($e->getMessage());
$log->report($e);
var_dump((string)$e);