From ceeb792d7bed750c5732a015829000909204224a Mon Sep 17 00:00:00 2001 From: fengzero Date: Wed, 14 Sep 2022 06:48:27 +0000 Subject: [PATCH] chore(rest): log unhandle msg --- plugins/restful/rest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/restful/rest.c b/plugins/restful/rest.c index 7f79a3e7..89f37b40 100644 --- a/plugins/restful/rest.c +++ b/plugins/restful/rest.c @@ -306,6 +306,8 @@ static int dashb_plugin_request(neu_plugin_t * plugin, handle_read_resp(header->ctx, (neu_resp_read_group_t *) data); break; default: + nlog_fatal("recv unhandle msg: %s", + neu_reqresp_type_string(header->type)); assert(false); break; }