Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
added error message when db connection check fails
Ivan Gnusarkov4c88a97698d3
diff --git a/scripts/check-db.js b/scripts/check-db.jsindex 757843ac3..cdfeafa32 100644--- a/scripts/check-db.js+++ b/scripts/check-db.js@@ -44,7 +44,7 @@ async function checkConnection() {success('Database connection successful.');} catch (e) {- throw new Error('Unable to connect to the database.');+ throw new Error('Unable to connect to the database: ' + e.message);}}