include details with error

This commit is contained in:
Brendan Forster 2017-11-04 13:47:59 +11:00
parent dc093b0fbe
commit 2ce115d392

View file

@ -54,7 +54,7 @@ async function generateIconData(): Promise<ReadonlyArray<IOcticonData>> {
if (!viewBoxMatch) {
throw new Error(
`*** ERROR! Unexpected viewBox format for ${octicon.symbol}`
`Unexpected viewBox format for ${octicon.symbol} - '${viewBox}'`
)
}