Use logbook to log exceptions