X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/f90790c6b2a54c9b1c8a0aeaf1f23e6aa67d7aca..696fcd7ce4d495e356667019493bf312e2a6e47b:/bin/setup.php diff --git a/bin/setup.php b/bin/setup.php index 27c5c46..ba97493 100755 --- a/bin/setup.php +++ b/bin/setup.php @@ -9,7 +9,7 @@ require_once __DIR__ . '/../src/init.php'; $json = file_get_contents(__DIR__ . '/../data/elasticsearch-mapping.json'); if (json_decode($json) === null) { - echo "Error: Schema JSON is broken\n"; + Log::error("Error: Schema JSON is broken"); chdir(__DIR__ . '/../'); passthru('json_pp -t null < data/elasticsearch-mapping.json'); exit(1);