also log exceptions