ForbesLindesay / browserify-middleware

express middleware for browserify, done right
http://browserify.org
MIT License
381 stars 66 forks source link

Display Javascript syntax errors #95

Closed gionatan-lombardi closed 8 years ago

gionatan-lombardi commented 8 years ago

Hi, if I have a JS syntax error the bundle file results in a pending status instead of 500.

It would be great to have the file in 500 with the JS error in the response or the error in the express's next function.

Thanx!

ForbesLindesay commented 8 years ago

You'll need to provide an example to reproduce this.

gionatan-lombardi commented 8 years ago

Hi, I watched deeply in my express setup and found an error handling bug.

Sorry for your time losing 😔