• Alfredo Di Napoli's avatar
    Improve startup error from runDbCheck · 4c97676e
    Alfredo Di Napoli authored
    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.
    4c97676e
Name
Last commit
Last update
..
API Loading commit data...
Core Loading commit data...
Data/HashMap/Strict Loading commit data...
Database Loading commit data...
MicroServices Loading commit data...
System Loading commit data...
Utils Loading commit data...
API.hs Loading commit data...
Core.hs Loading commit data...
Database.hs Loading commit data...
Defaults.hs Loading commit data...