All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Error handling functionality. You can now add a
error_handlerin your config, like this:['error_handler' => ['class' => MyErrorHandler::class, 'active' => true]. The class needs to extend the new abstract classOtsch\Ppq\AbstractErrorHandler. In itsboot()method you can register one or multiple error handlers via its ownregisterHandler()method. The handlers are automatically called with any uncaught exception or PHP warnings and errors (turned intoErrorExceptions) occuring during a PPQ job execution.
- Fix identifying Sub-Processes that need to be killed, when cancelling a running Process.
- When the new content of the ppq index file was shorter than the old content, it wrote the new content starting from the beginning of the file and the part of the old content that was longer than the new content, remained at the end of the file. Fixed it be truncating the file before writing the new content.