| @@ -473,9 +473,13 @@ | ||
| 473 | 473 | |
| 474 | 474 | $this->capture( |
| 475 | 475 | 'critical', |
| 476 | 476 | substr( (string) $error['message'], 0, 8 * 1024 ), |
| 477 | - array( 'source' => 'fatal' ), | |
| 477 | + array( | |
| 478 | + 'source' => 'fatal', | |
| 479 | + 'fatal_file' => $relative, | |
| 480 | + 'fatal_line' => $line, | |
| 481 | + ), | |
| 478 | 482 | array( 'wcpos-fatal', $relative, $line ), |
| 479 | 483 | true |
| 480 | 484 | ); |
| 481 | 485 | } catch ( Throwable $throwable ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch |