1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 00:26:10 +02:00

Merge remote-tracking branch 'fprochazka/php7-throwable'

This commit is contained in:
Jordi Boggiano
2016-05-20 19:40:51 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class WhatFailureGroupHandler extends GroupHandler
foreach ($this->handlers as $handler) {
try {
$handler->handle($record);
} catch (\Exception $e) {
} catch (\Throwable $e) {
// What failure?
} catch (\Throwable $e) {
// What failure?
@@ -51,7 +51,7 @@ class WhatFailureGroupHandler extends GroupHandler
foreach ($this->handlers as $handler) {
try {
$handler->handleBatch($records);
} catch (\Exception $e) {
} catch (\Throwable $e) {
// What failure?
} catch (\Throwable $e) {
// What failure?