[High-performance-network] [PATCH] libhns: Add error logs to help diagnosis