closed #168 Made it so that errors in the database adapter are dispatched.