-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For HTTP usage we leverage \Laminas\Stratigility\Middleware\ErrorHandler
(via pipeline.php
) to automatically log all kind of exception/error/warning.
We have no equivalent for CLI usage. So a CLI usage might throw an exception that might never be logged through our standard channels (db, file, emails).
We should come up with a solution to that. Either upgrade our CLI command architecture to something more integrated (laminas-cli ? Symfony Console ? something else ?) or something more custom like:
FelixCustomErrorHandler::runSafely(function() { /* command code */ });
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request