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 46b2fed commit e1e5ef7Copy full SHA for e1e5ef7
1 file changed
bin/rtlcss.js
@@ -278,11 +278,23 @@ function main () {
278
buffer += data
279
})
280
process.on('SIGINT', () => {
281
- processCSSFile(false, buffer)
+ try {
282
+ processCSSFile(false, buffer)
283
+ } catch (e) {
284
+ currentErrorcode = ErrorCodes.ProcessingError
285
+ printError('rtlcss: error processing payload')
286
+ printError(e)
287
+ }
288
process.exit()
289
290
process.stdin.on('end', () => {
291
292
293
294
295
296
297
298
299
}
300
0 commit comments