We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
\Errors
SystemEvent::SEVERITY_URGENT
1 parent 5efb5dd commit ebf4fc8Copy full SHA for ebf4fc8
src/sysmonitor/SystemMonitor.php
@@ -117,6 +117,8 @@ private function rateAndStore(SystemEvent $sysEvt)
117
if ($this->isFatalError($exc->getCode())) {
118
$sysEvt->severity = SystemEvent::SEVERITY_URGENT;
119
}
120
+ } elseif ($exc instanceof \Error) {
121
+ $sysEvt->severity = SystemEvent::SEVERITY_URGENT;
122
} elseif ($exc instanceof SevereException) {
123
124
0 commit comments