Log the exception too, that's useful.