This is to handle an uncaught error when loading a module.

We can remove the `process.send()` bit, and rethrow the error or remove this entirely and node will throw a nice error.

I'm not sure how this restricts loading to only deployd resources though. Can you clarify?