Skip to content

Commit

Permalink
Tweak class regex failure logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Jul 2, 2024
1 parent eb6e760 commit b8ba251
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tailwindcss-language-service/src/util/find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ async function findCustomClassLists(
})
}
} catch (err) {
console.log(JSON.stringify({ text, filters: regexes }))
console.error(err)
console.log({ text, filters: regexes })
throw new Error('Failed to parse custom class regex')
}

Expand Down

0 comments on commit b8ba251

Please sign in to comment.