Ensure that the original error gets preserved by the ErrorModule

For LMS-300

Before, we would blow away the error message that was passed into ErrorModule, which is not very useful for debugging the underlying problems. This pull request should ensure that we preserve the incoming error.

@brianhw @wedaly