logging bundle error server side and sending a 500

In my case that logs something along the lines of:

```
server listening: http://localhost:3000
[Error: Cannot find module 'jquery']
[Error: Cannot find module 'core']
```
which definitely helps to find my problem.
Previously it just sent `undefined` as the bundle.