Log errors when there is a failure, not otherwise