throwing seems to mix very badly with browserify-middleware, crashing the whole server. So I was looking for a less extreme way of showing error feedback.

Looking at [coffeeify](https://github.com/substack/coffeeify/blob/master/index.js#L35), we can use `this.emit('error', error);` instead of `throw error;`.

Committing that now.