Releases: otsch/ppq
Releases · otsch/ppq
v0.2.0
Added
- 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.
v0.1.2
v0.1.1
Fixed
- 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.