add health check
This commit is contained in:
@@ -30,7 +30,7 @@ final class IndexNdjsonInspector
|
||||
{
|
||||
if (!is_file($this->metaPath)) {
|
||||
return [
|
||||
'error' => 'index_meta.json nicht gefunden',
|
||||
'error' => 'index_meta.json nicht gefunden. Bitte laden Sie min. ein Dokument in das System.',
|
||||
'path' => $this->metaPath,
|
||||
];
|
||||
}
|
||||
@@ -67,7 +67,7 @@ final class IndexNdjsonInspector
|
||||
|
||||
if (!is_file($this->ndjsonPath)) {
|
||||
return [
|
||||
'error' => 'index.ndjson nicht gefunden',
|
||||
'error' => 'index.ndjson nicht gefunden. Bitte laden Sie min. ein Dokument in das System.',
|
||||
'path' => $this->ndjsonPath,
|
||||
'items' => [],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user