Log error when receive fails.