Skip to content

Commit

Permalink
feat(frontend): display more details on error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Jul 7, 2024
1 parent a06e07e commit c8589da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export async function load() {
try {
return { corpus };
} catch (e) {
error(404, 'Could not load corpus data');
error(404, `Could not load corpus data ${e.message}`);
}
}

0 comments on commit c8589da

Please # to comment.