This commit is contained in:
James Cole
2023-03-05 19:26:33 +01:00
parent 3df05eb63c
commit 0f57094b17

View File

@@ -187,7 +187,7 @@ class DebugController extends Controller
foreach ($handlers as $handler) {
if ($handler instanceof RotatingFileHandler) {
$logFile = $handler->getUrl();
if (null !== $logFile) {
if (null !== $logFile && file_exists($logFile)) {
$logContent = file_get_contents($logFile);
}
}