Use config to avoid some exception

- remove the exception test from the client
- fixed #2
- updated doc for raven.yml part (where to put it)