logging

We are now logging all caught exceptions.