We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4042952 commit a29a828Copy full SHA for a29a828
ui/data.js
@@ -38,9 +38,10 @@ export function nameToUrl(name) {
38
result += "-";
39
wordStart = true;
40
} else if (!REMOVE_CHARACTERS.test(character)) {
41
- throw new Error(
42
- `unsupported character "${character}" in "${name}"`,
+ console.error(
+ `\x1b[31m✘\x1b[0m Unsupported character "${character}" in "${name}"`,
43
);
44
+ process.exit(1);
45
}
46
47
return result;
@@ -68,6 +69,7 @@ export function loadDatasets() {
68
69
console.error(
70
`\x1b[31m✘\x1b[0m Parsing ${name} failed: ${error}`,
71
72
73
74
75
0 commit comments