substack/coffeeify — pull request #10 by alexeypetrushin (2013-04-22 23:33:14+00:00)
Title: Provide more info about error in transform operation.

I'm using `browserify` and `coffeify` in `browserify-middleware` and when one of my *.coffee files fails the error message in stack trace has no information about the error and even what file has problems.

It makes very difficult to locate and fix problems. I created a hack to quickly solve it, but, I guess it isn't the best possible way to do it. Can you please provide more information about the problem and how to fix it?

```
/app/node_modules/coffeeify/node_modules/coffee-script/lib/coffee-script/helpers.js:211
throw error;
^
SyntaxError: unexpected INDENT
at Object.exports.throwSyntaxError (/app/node_modules/coffeeify/node_modules/coffee-script/lib/coffee-script/helpers.js:209:13)
at Object.parser.yy.parseError (/app/node_modules/coffeeify/node_modules/coffee-script/lib/coffee-script/coffee-script.js:245:20)
at Object.parse (/app/node_modules/coffeeify/node_modules/coffee-script/lib/coffee-script/parser.js:535:22)
at Object.exports.compile.compile (/app/node_modules/coffeeify/node_modules/coffee-script/lib/coffee-script/coffee-script.js:36:25)
at compile (/app/node_modules/coffeeify/index.js:6:27)
at Stream.end (/app/node_modules/coffeeify/index.js:32:22)
at _end (/app/node_modules/coffeeify/node_modules/through/index.js:61:9)
at Stream.stream.end (/app/node_modules/coffeeify/node_modules/through/index.js:70:5)
at /app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/index.js:92:19
at nr (/app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/index.js:159:13)
at /app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js:43:21
at /app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js:106:35
at /app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js:80:39
at /app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js:54:30
at /app/node_modules/browserify-middleware/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js:18:18
at Object.oncomplete (fs.js:93:15)
at process._makeCallback (node.js:321:24)
```