Created
April 10, 2015 13:23
-
-
Save kwketh/4c3c47308d619a640db1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var less = require('less'); | |
less.render('@import "missingfile.less";\n.class { width: (1 + 1) }', function (err, output) { | |
// err has error (missingfile.less does not exist) | |
console.log("callback works but does not display any errors."); | |
callUndefinedFunction(); | |
console.log("execution stopped, no errors in either stdout or stderr."); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment