Releases: rollun-lc/rollun-callback
Releases · rollun-lc/rollun-callback
6.11.2
7.6.0
Merge 7.x to master (where was 6th version)
7.5.0
- copy reputation-vip/queue-client to local files
- get rid of guzzle/guzzle fork
7.4.0
Add callable name to message in ProcessByName::class
7.3.0
Replace Interop container by Psr
7.2.1
Change log level for PHP errors to warning
6.11.1
Change log level for PHP errors to warning
7.2.0
Catch PHP errors and log it in Process and ProcessByName interrupters.
set_error_handler(function (int $errno, string $errstr, string $errfile, int $errline) use ($logger) : void {
if (! (error_reporting() & $errno)) {
// error_reporting does not include this error
return;
}
$exception = new ErrorException($errstr, 0, $errno, $errfile, $errline);
// Maybe in next releases we will throw this exceptions
$logger->error('When execute process, catch PHP error. But not throwing it.', [
'exception' => $exception
]);
});
6.11.0
Catch PHP errors and log it in Process and ProcessByName interrupters.
set_error_handler(function (int $errno, string $errstr, string $errfile, int $errline) use ($logger) : void {
if (! (error_reporting() & $errno)) {
// error_reporting does not include this error
return;
}
$exception = new ErrorException($errstr, 0, $errno, $errfile, $errline);
// Maybe in next releases we will throw this exceptions
$logger->error('When execute process, catch PHP error. But not throwing it.', [
'exception' => $exception
]);
});
7.1.0
Support "rollun-com/rollun-utils":"^8.0"