Skip to content

Commit 93131be

Browse files
committed
improve error message from fontawesome build step
1 parent f34a594 commit 93131be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/scripts/fontawesome.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ export function getFontawesomeConfig(debug = false): FontawesomeConfig {
9999
(it) => !(solid.includes(it) || regular.includes(it) || brands.includes(it))
100100
);
101101
if (leftOvers.length !== 0) {
102-
throw new Error("unknown icons: " + leftOvers.toString());
102+
throw new Error(
103+
"Fontawesome failed with unknown icons: " + leftOvers.toString()
104+
);
103105
}
104106

105107
if (debug) {

0 commit comments

Comments
 (0)