ensure that exceptions are catched and turned into internal server errors, as discussed in #29