Handle error more properly.
Exception are forwarded up to be able to inform the user about it.