twitter/recess — pull request #41 by numbers1311407 (2012-08-16 02:23:48+00:00)
Title: Parser should log LessError's type, not name - Fixes #18

https://github.com/twitter/recess/issues/18

Looking through the less source it seems that `LessError` has no name, yet the core parser attempts to log it. This is causing:

Parse error: Cannot read property 'red' of undefined on line {lineno}

... which is actually a `TypeError` thrown for attemping to call `err.name.red`, when `err.name` is undefined.

The fix is super simple, just logging the error's type instead of the name.