diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ static function error($p = array(), $extra = null) $failcount = $okstatus ? 0 : (int)@file_get_contents($okfn) + 1; # NOPHPLINT file_put_contents($okfn, "$failcount\n"); # NOPHPLINT if ($failcount != $p['failcount'] && $failcount != $p['failcount'] * 2) - return; + return $p['fatal'] && !$okstatus ? self::_exit($p) : null; # nothing to report } $context = is_callable(self::$error_context) ? (self::$error_context)() : []; |