mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 16:46:11 +02:00
Catch Throwable
This commit is contained in:
@@ -35,6 +35,8 @@ class WhatFailureGroupHandler extends GroupHandler
|
||||
$handler->handle($record);
|
||||
} catch (\Exception $e) {
|
||||
// What failure?
|
||||
} catch (\Throwable $e) {
|
||||
// What failure?
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,6 +53,8 @@ class WhatFailureGroupHandler extends GroupHandler
|
||||
$handler->handleBatch($records);
|
||||
} catch (\Exception $e) {
|
||||
// What failure?
|
||||
} catch (\Throwable $e) {
|
||||
// What failure?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user