add some more exception logging