From 7b7e56c12044c56e20e77ee3f3d25b0c8c0b080e Mon Sep 17 00:00:00 2001 From: tholulomo Date: Sun, 28 Jul 2024 17:30:28 -0400 Subject: [PATCH] feat(#504): Fix missing data error message for chart --- app/src/modules/vega-chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/modules/vega-chart.js b/app/src/modules/vega-chart.js index d3b3e9bc..867d7828 100644 --- a/app/src/modules/vega-chart.js +++ b/app/src/modules/vega-chart.js @@ -379,7 +379,7 @@ async function loadChart (chartUri) { const rows = results.bindings if (rows.length < 1) { - throw new Error(`No chart found for uri: ${chartUrl}`) + throw new Error(`No data found for the specified chart URI: ${chartUrl}`) } return await readChartSparqlRow(rows[0])