update breadcrumb

This commit is contained in:
Daeng Deni Mardaeni 2023-09-27 15:05:39 +07:00
parent 4170ec198a
commit 6c5f7dba97

View File

@ -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;
}