Skip to content

Commit

Permalink
feat(#504): Fix missing data error message for chart
Browse files Browse the repository at this point in the history
  • Loading branch information
tholulomo committed Jul 28, 2024
1 parent d3c64ed commit 7b7e56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/modules/vega-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 7b7e56c

Please sign in to comment.