mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Fix #7144
This commit is contained in:
@@ -187,7 +187,7 @@ class DebugController extends Controller
|
|||||||
foreach ($handlers as $handler) {
|
foreach ($handlers as $handler) {
|
||||||
if ($handler instanceof RotatingFileHandler) {
|
if ($handler instanceof RotatingFileHandler) {
|
||||||
$logFile = $handler->getUrl();
|
$logFile = $handler->getUrl();
|
||||||
if (null !== $logFile) {
|
if (null !== $logFile && file_exists($logFile)) {
|
||||||
$logContent = file_get_contents($logFile);
|
$logContent = file_get_contents($logFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user