update breadcrumb
This commit is contained in:
parent
4170ec198a
commit
6c5f7dba97
@ -73,11 +73,11 @@
|
||||
public function query(LogReader $model)
|
||||
: QueryBuilder
|
||||
{
|
||||
$data = collect();
|
||||
|
||||
$model->setLogPath(storage_path('logs'));
|
||||
|
||||
try {
|
||||
$data = $model->get()->merge($data);
|
||||
$data = $model->get();
|
||||
} catch (UnableToRetrieveLogFilesException $exception) {
|
||||
echo $exception->getMessage();
|
||||
exit;
|
||||
@ -87,6 +87,7 @@
|
||||
return (collect($a))->only(['id', 'date', 'environment', 'level', 'file_path', 'context']);
|
||||
});
|
||||
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user