Log exceptions
Fix bug #808 Problems after clearing catalog search