Fix debug issue caught by @devlearner.

This commit is contained in:
James Cole
2018-01-28 20:59:26 +01:00
parent f50550d79c
commit 0342c371cc

View File

@@ -86,8 +86,8 @@ class DebugController extends Controller
$logFile = $handler->getUrl();
if (null !== $logFile) {
try {
$logContent = file_get_contents('/aaaa/'.$logFile);
} catch(Exception $e) {
$logContent = file_get_contents($logFile);
} catch (Exception $e) {
// don't care
}
}