Wrap inner exception so one can see what went wrong

Signed-off-by: Michel Käser <mk@frontender.ch>