Skip to content

Commit b8ba251

Browse files
committed
Tweak class regex failure logs
1 parent eb6e760 commit b8ba251

File tree

1 file changed

+2
-1
lines changed
  • packages/tailwindcss-language-service/src/util

1 file changed

+2
-1
lines changed

packages/tailwindcss-language-service/src/util/find.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ async function findCustomClassLists(
149149
})
150150
}
151151
} catch (err) {
152-
console.log(JSON.stringify({ text, filters: regexes }))
152+
console.error(err)
153+
console.log({ text, filters: regexes })
153154
throw new Error('Failed to parse custom class regex')
154155
}
155156

0 commit comments

Comments
 (0)