Commit 4c97676e authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Improve startup error from runDbCheck

Previously we would fail with a generic message suggesting to run
`gargantext-init`, but that wouldn't always be the case; sometimes
there might be problems connecting to the database, and we want to
show the raw exception. This code should help diagnosing what's wrong.

It also changes the error hint to report the correct executable, as
these days we use `gargantext-cli init` instead.
parent 45eff945
Pipeline #6715 failed with stages
in 63 minutes and 11 seconds