mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
commit
c78fa8eaea
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user