Don't ignore exceptions.

- Raise an exception when there is a configuration error.
- Let exceptions raise themself.

Fixes: bug #1037354
Change-Id: I7e064bf95d6dbce7a52a010411672c237e77afae
Merge "Don't ignore exceptions."