log exceptions

Don't just throw away the useful error messages!