chore: log aio error

This commit is contained in:
fengzero
2022-08-01 02:51:52 +00:00
parent d5f8f12a2d
commit 3c397f773f
+1
View File
@@ -409,6 +409,7 @@ void http_timeout(nng_aio *aio, void *arg, int err)
http_internal_error(aio, "{\"error\": \"canceled\"}");
break;
default:
nlog_error("aio error: %d", err);
http_internal_error(aio, "{\"error\": \"unknown\"}");
break;
}